Resource: UserWorkloadsSecret
User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
JSON representation |
---|
{ "name": string, "data": { string: string, ... } } |
Fields | |
---|---|
name |
Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" |
data |
Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" } |
Methods |
|
---|---|
|
Creates a user workloads Secret. |
|
Deletes a user workloads Secret. |
|
Gets an existing user workloads Secret. |
|
Lists user workloads Secrets. |
|
Updates a user workloads Secret. |