MENU
    Okta
    • 10 Apr 2024
    • 1 Minute to read
    • Dark
      This documentation version is deprecated, please click here for the latest version.

    Okta

    • Dark

    Article summary

    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" }}'
    YAML

    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
    Plain text

    Was this article helpful?

    What's Next