SecretArgs

data class SecretArgs(val labels: Output<Map<String, String>>? = null, val project: Output<String>? = null, val replication: Output<ReplicationArgs>? = null, val secretId: Output<String>? = null) : ConvertibleToJava<SecretArgs>

Creates a new Secret containing no SecretVersions. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun SecretArgs(labels: Output<Map<String, String>>? = null, project: Output<String>? = null, replication: Output<ReplicationArgs>? = null, secretId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SecretArgs

Properties

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given resource.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val replication: Output<ReplicationArgs>? = null

Immutable. The replication policy of the secret data attached to the Secret. The replication policy cannot be changed after the Secret has been created.

Link copied to clipboard
val secretId: Output<String>? = null

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.