Class InlineSecret (3.18.0)

InlineSecret(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.

Attributes

NameDescription
kms_key_name str
Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/\ */locations/*/keyRings/*/cryptoKeys/*
env_map MutableMapping[str, bytes]
Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.

Classes

EnvMapEntry

EnvMapEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.