secret
Schema Secret
Secrets are used to provide data that is considered sensitive like passwords, API keys,
TLS certificates, tokens or other credentials.
Attributes
Name and Description | Type | Default Value | Required |
---|---|---|---|
type Type of secret, used to facilitate programmatic handling of secret data. | "basic" | "token" | "opaque" | "certificate" | "external" | Undefined | required |
params Collection of parameters used to facilitate programmatic handling of secret data. | {str: str} | Undefined | optional |
data Data contains the non-binary secret data in string form. | {str: str} | Undefined | optional |
immutable Immutable, if set to true, ensures that data stored in the Secret cannot be updated. | bool | Undefined | optional |
Examples
import catalog.models.schema.v1.workload.secret as sec
basicAuth = sec.Secret {
type: "basic"
data: {
"username": ""
"password": ""
}
}