Expand description
Models and utilities for managing QCS secret credentials.
Structs§
- Credential
- A QCS credential, containing sensitive authentication secrets.
- Secret
Access Token - An [OAuth 2.0 access token][https://oauth.net/2/access-tokens/] that is used to authenticate requests to the QCS API as a
Bearertoken. - Secret
Refresh Token - An [OAuth 2.0 refresh token][https://oauth.net/2/refresh-tokens/] that is used to obtain a new
SecretAccessToken. - Secrets
- The structure of QCS secrets, typically serialized as a TOML file at
DEFAULT_SECRETS_PATH. - Token
Payload - A QCS token payload, containing sensitive authentication secrets.
Constants§
- DEFAULT_
SECRETS_ PATH - The default path that
Secretswill be loaded from - SECRETS_
PATH_ VAR - Setting the
QCS_SECRETS_FILE_PATHenvironment variable will change which file is used for loading secrets - SECRETS_
READ_ ONLY_ VAR QCS_SECRETS_READ_ONLYindicates whether to treat thesecrets.tomlfile as read-only. Disabled by default.