Class CreateSecretRequest (2.4.0)

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

Request message for SecretManagerService.CreateSecret.

Attributes

NameDescription
parent str
Required. The resource name of the project to associate with the Secret, in the format projects/*.
secret_id str
Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore (_) characters.
secret google.cloud.secretmanager_v1.types.Secret
Required. A Secret with initial field values.