Class CreateSecretRequest (2.21.0)

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

Request message for SecretManagerService.CreateSecret.

Attributes

Name Description
parent str
Required. The resource name of the project to associate with the Secret, in the format projects/* or projects/*/locations/*.
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.