REST Resource: projects.locations.environments.userWorkloadsSecrets

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

string

Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"

data

map (key: string, value: string)

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

create

Creates a user workloads Secret.

delete

Deletes a user workloads Secret.

get

Gets an existing user workloads Secret.

list

Lists user workloads Secrets.

update

Updates a user workloads Secret.