Create a Secret
sm_secret_create.Rd
Creates a new Secret containing no SecretVersions.
Arguments
- secret_id
Required. A unique identifier for the secret within the project. Must be a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (
-
) and underscore (_
) characters.- project_id
The Google Cloud Project ID. Defaults to
sm_project_get()
.- replication
Required. The replication policy for the secret data. Must be a list with either
automatic
oruser_managed
configuration.- labels
Optional. Labels to attach to the secret.
- ...
Additional arguments for methods.