Package com.pulumi.gcp.secretmanager
Class SecretArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.secretmanager.SecretArgs
-
public final class SecretArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SecretArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
annotations()
static SecretArgs.Builder
builder()
static SecretArgs.Builder
builder(SecretArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
expireTime()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
com.pulumi.core.Output<SecretReplicationArgs>
replication()
java.util.Optional<com.pulumi.core.Output<SecretRotationArgs>>
rotation()
com.pulumi.core.Output<java.lang.String>
secretId()
java.util.Optional<com.pulumi.core.Output<java.util.List<SecretTopicArgs>>>
topics()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
ttl()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
versionAliases()
-
-
-
Field Detail
-
Empty
public static final SecretArgs Empty
-
-
Method Detail
-
annotations
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> annotations()
- Returns:
- Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
-
expireTime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expireTime()
- Returns:
- Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of `expire_time` or `ttl` can be provided.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- 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}][\p{Ll}\p{Lo}\p{N}_-]{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. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
replication
public com.pulumi.core.Output<SecretReplicationArgs> replication()
- Returns:
- The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
-
rotation
public java.util.Optional<com.pulumi.core.Output<SecretRotationArgs>> rotation()
- Returns:
- The rotation time and period for a Secret. At `next_rotation_time`, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be set to configure rotation. Structure is documented below.
-
secretId
public com.pulumi.core.Output<java.lang.String> secretId()
- Returns:
- This must be unique within the project.
-
topics
public java.util.Optional<com.pulumi.core.Output<java.util.List<SecretTopicArgs>>> topics()
- Returns:
- A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. Structure is documented below.
-
ttl
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ttl()
- Returns:
- The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of `ttl` or `expire_time` can be provided.
-
versionAliases
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> versionAliases()
- Returns:
- Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
-
builder
public static SecretArgs.Builder builder()
-
builder
public static SecretArgs.Builder builder(SecretArgs defaults)
-
-