SecretKeySelectorResponse class

SecretKeySelector selects a key of a Secret.

Constructors

SecretKeySelectorResponse({required Input<String> key, required Input<LocalObjectReferenceResponse> localObjectReference, required Input<String> name, required Input<bool> optional})
Creates a new SecretKeySelectorResponse. key A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. localObjectReference This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. name The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. optional Specify whether the Secret or its key must be defined.
const
SecretKeySelectorResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>
A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key.
final
localObjectReference → Input<LocalObjectReferenceResponse>
This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.
final
name → Input<String>
The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from.
final
optional → Input<bool>
Specify whether the Secret or its key must be defined.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited