Module secrets

Module secrets 

Source
Expand description

Models and utilities for managing QCS secret credentials.

Structs§

Credential
A QCS credential, containing sensitive authentication secrets.
SecretAccessToken
An [OAuth 2.0 access token][https://oauth.net/2/access-tokens/] that is used to authenticate requests to the QCS API as a Bearer token.
SecretRefreshToken
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.
TokenPayload
A QCS token payload, containing sensitive authentication secrets.

Constants§

DEFAULT_SECRETS_PATH
The default path that Secrets will be loaded from
SECRETS_PATH_VAR
Setting the QCS_SECRETS_FILE_PATH environment variable will change which file is used for loading secrets
SECRETS_READ_ONLY_VAR
QCS_SECRETS_READ_ONLY indicates whether to treat the secrets.toml file as read-only. Disabled by default.