secret
Schema Secret
Secret can be used to store sensitive data.
Attributes
Name and Description | Type | Default Value | Required |
---|---|---|---|
type Type of secret, used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/\#secret-types | "basic" | "opaque" | opaque | required |
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": ""
}
}