Okta Target
You can define an Okta target for managing identities in your Okta account.
Create an Okta Target with the CLI
To create an Okta target with the CLI, run the following command:
akeyless target create okta \
--name <target name> \
--api-token <Okta API token> \
--url <Okta URL> \
--key <protection key>Where:
name: A unique name of the target. The name can include the path to the virtual folder where you want to create the new target, using slash/separators. If the folder does not exist, it will be created together with the target.api-token: The Okta API token.url: The URL of your Okta account.key: The protection key used to encrypt the target secret value. If not specified, the account default protection key is used.
You can find the complete list of parameters for this command in the CLI Reference - Akeyless Targets section.
Create an Okta Target in the Console
- Log in to the Akeyless Console, and go to Targets > New > Infra (Okta).
- Define a Name of the target, and specify the Location as a path to the virtual folder where you want to create the new target, using slash
/separators. If the folder does not exist, it will be created together with the target. - Select a Protection key with a Customer Fragment to enable Zero-Knowledge and click Next.
For more information, read here. - Define the remaining parameters as follows:
- API Token: The Okta API token.
- Okta URL: The URL of your Okta account.
