This Raito CLI plugin will synchronize the users and groups from an Okta account to a specified Raito Identity Store.
To use this plugin, you will need
- The Raito CLI to be correctly installed. You can check out our documentation for help on this.
- A Raito Cloud account to synchronize your Okta account with. If you don't have this yet, visit our webpage at (https://raito.io) and request a trial account.
To use the plugin, add the following snippet to your Raito CLI configuration file (raito.yml
, by default) under the targets
section:
- name: okta1
connector-name: raito-io/cli-plugin-okta
identity-store-id: <<Okta IdentityStore ID>>
okta-domain: <<Your Okta Domain>>
okta-token: "{{RAITO_OKTA_TOKEN}}"
Next, replace the values of the indicated fields with your specific values:
<<Okta IdentityStore ID>>
: the ID of the IdentityStore you created in the Raito Cloud UI.<<Your Okta Domain>>
: your full okta domain. e.g.dev-123456789.okta.com
Optionally, you can set the okta-excluded-statuses
parameter, where you can specify a comma-separated list of user statuses from Okta. When a user has one of these statuses, this user will not be synced.
By default, statuses DEPROVISIONED
and SUSPENDED
are ignored.
If you would also like to ignore the PROVISIONED
status, for example, you can add this to the end of the configuration snippet:
okta-exclude-statuses: "DEPROVISIONED,SUSPENDED,PROVISIONED"
Make sure you have a system variable called RAITO_OKTA_TOKEN
with a valid Okta token as its value.
For more information on how to create and configure an Okta token, see the Okta documentation.
You will also need to configure the Raito CLI further to connect to your Raito Cloud account, if that's not set up yet. A full guide on how to configure the Raito CLI can be found on (http://docs.raito.io/docs/cli/configuration).
As a first step, you can check if the CLI finds this plugin correctly. In a command-line terminal, execute the following command:
$> raito info raito-io/cli-plugin-okta
This will download the latest version of the plugin (if you don't have it yet) and output the name and version of the plugin, together with all the plugin-specific parameters to configure it.
When you are ready to try out the synchronization for the first time, execute:
$> raito run
This will take the configuration from the raito.yml
file (in the current working directory) and start a single synchronization.
Note: if you have multiple targets configured in your configuration file, you can run only this target by adding --only-targets okta1
at the end of the command.