Skip to main content

okta

Authentication and authorization services.

Provider Summary
total services: 24
total methods: 283
total resources: 73
total selectable resources: 66

See also:
[SHOW] [DESCRIBE] [REGISTRY]


Installation

To pull the latest version of the okta provider, run the following command:

REGISTRY PULL okta;

To view previous provider versions or to pull a specific provider version, see here.

Authentication

The OKTA_API_TOKEN environment variable is used by default to store credentials to authorize requests to Okta. This variable is sourced at runtime (from the local machine or as a CI variable/secret). More information on obtaining a Okta API Token can be found here.

Using a different environment variable

To use a different environment variable (instead of the default), use the --auth flag of the stackql program. For example:

AUTH='{ "okta": { "type": "api_key",  "credentialsenvvar": "YOUR_OKTA_API_TOKEN_VAR", "valuePrefix": "SSWS " }}'
stackql shell --auth="${AUTH}"

or using PowerShell:

$Auth = "{ 'okta': { 'type': 'api_key',  'credentialsenvvar': 'YOUR_OKTA_API_TOKEN_VAR', 'valuePrefix': 'SSWS ' }}"
stackql.exe shell --auth=$Auth

Services