Authentication
Keystone token obtained from /keystone/v3/auth/tokens.
eyJhbGci...your-keystone-tokenMap of client ID to client secret.
Map of Dex client ID to client secret. Each key is a client_id; the corresponding value is its client_secret.
Missing or invalid Keystone token.
Authorization: Bearer <id_token>password for initial login; refresh_token to renew using a previously issued refresh token.
passwordPossible values: Always kubernetes.
kubernetesThe client_secret for the kubernetes client from /resmgr/v2/dexclients.
your-client-secretSpace-separated OIDC scopes. Use openid offline_access groups email profile to receive a refresh token and group claims.
openid offline_access groups email profilePCD-V / Keystone username (email). Required for password grant.
[email protected]PCD-V / Keystone password. Required for password grant.
your-passwordDex connector to authenticate against. Use default for the standard Keystone connector.
defaultThe refresh token from a previous response. Required for refresh_token grant.
eyJhbGci...your-refresh-tokenToken issued. Use id_token as the Authorization: Bearer value on Cluster API calls.
OAuth 2.0 access token (not used directly by the Cluster API).
type of token. eg. 'bearer'
OIDC ID token (JWT). This is the value to pass as Authorization: Bearer <id_token> on all PCD-K Cluster API requests.
Long-lived refresh token. Store securely and use with grant_type=refresh_token to renew the id_token without re-entering your password. Only returned when offline_access scope is requested.
Lifetime of the id_token in seconds (typically 86399 — ~24 hours).
86399Invalid request — wrong grant type, missing fields, or bad credentials.
Invalid client credentials (client_id / client_secret mismatch).
Last updated
Was this helpful?
