- Print
- DarkLight
This documentation version is deprecated, please click here for the latest version.
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Okta CLI allows you to interact with your Okta instance(s) via the command line. With this component of the Cloud CLI extension, you can interact with Okta directly from LimaCharlie.
This extension makes use of the Okta CLI, which can be found here.
Example
The following example returns a list of registered Okta applications.
- action: extension request
extension action: run
extension name: ext-cloud-cli
extension request:
cloud: '{{ "okta" }}'
command_line: '{{ "apps" }}'
credentials: '{{ "hive://secret/secret-name" }}'
Credentials
To make use of the Okta CLI, you will need:
- An API key. More information about provisioning an API key can be found here.
- Create a secret in the secrets manager in the following format:
okta_domain/api_key
Was this article helpful?