Skip to main content
Version: v0.10

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 DescriptionTypeDefault ValueRequired
type
Type of secret, used to facilitate programmatic handling of secret data.
"basic" | "token" | "opaque" | "certificate" | "external"Undefinedrequired
params
Collection of parameters used to facilitate programmatic handling of secret data.
{str: str}Undefinedoptional
data
Data contains the non-binary secret data in string form.
{str: str}Undefinedoptional
immutable
Immutable, if set to true, ensures that data stored in the Secret cannot be updated.
boolUndefinedoptional

Examples

import catalog.models.schema.v1.workload.secret as sec

basicAuth = sec.Secret {
type: "basic"
data: {
"username": ""
"password": ""
}
}