okta
How to get these credentialsOkta org URL plus an SSWS API token or an OAuth 2.0 service app (private_key_jwt)
CREATE SECRET okta (
TYPE okta,
org_url '<org_url>',
api_token '<API_TOKEN>', -- secret
client_id '<client_id>',
private_key '<PRIVATE_KEY>', -- secret
key_id '<key_id>',
scopes '<scopes>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| org_url | VARCHAR | — | Your Okta org URL, e.g. https://acme.okta.com (http:// is accepted only for 127.0.0.1/localhost). |
| api_token secret | VARCHAR | — | SSWS API token (Security > API > Tokens). Use this or CLIENT_ID + PRIVATE_KEY. |
| client_id | VARCHAR | — | OAuth 2.0 service app client id (for private_key_jwt instead of an API token). |
| private_key secret | VARCHAR | — | The service app's private key: PEM (PKCS#8 or PKCS#1) or a JWK JSON object; RSA or EC P-256. |
| key_id | VARCHAR | — | Optional key id (kid) of the service app's public key. |
| scopes | VARCHAR | — | Space-separated okta.*.read scopes to request; defaults to the read scopes every function needs. |
The worker doesn't mark which keys are required.