okta
Authentication and authorization services.
Provider Summary (v23.03.00121)
total services: 24
total methods: 283
total methods: 283
total resources: 73
total selectable resources: 66
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 following system environment variables are used for authentication by default:
OKTA_API_TOKEN
- Okta API Token (see Creating an Okta API Token)
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
Using different environment variables
To use different environment variables (instead of the defaults), use the --auth
flag of the stackql
program. For example:
AUTH='{ "okta": { "type": "api_key", "valuePrefix": "SSWS ", "credentialsenvvar": "YOUR_OKTA_API_TOKEN_VAR" }}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'okta': { 'type': 'api_key', 'valuePrefix': 'SSWS ', 'credentialsenvvar': 'YOUR_OKTA_API_TOKEN_VAR' }}"
stackql.exe shell --auth=$Auth
Server Parameters
The following parameter is required for the okta
provider:
subdomain
- The Okta tenant domain, for examplemy-company
would be supplied if your Okta domain ismy-company.okta.com
This parameter must be supplied to the WHERE
clause of each SELECT
statement.