Okta
  • 05 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Okta

  • Dark
    Light

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

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?


What's Next