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 | type | description | default value | 
|---|---|---|---|
| data | {str:str} | Data contains the non-binary secret data in string form. | |
| immutable | bool | Immutable, if set to true, ensures that data stored in the Secret cannot be updated. | |
| params | {str:str} | Collection of parameters used to facilitate programmatic handling of secret data. | |
| type required | "basic" | "token" | "opaque" | 
Examples
import kam.workload.secret as sec
basicAuth = sec.Secret {
    type: "basic"
    data: {
        "username": ""
        "password": ""
    }
}