Service Template Spec Volume Secret Args
data class ServiceTemplateSpecVolumeSecretArgs(val defaultMode: Output<Int>? = null, val items: Output<List<ServiceTemplateSpecVolumeSecretItemArgs>>? = null, val secretName: Output<String>) : ConvertibleToJava<ServiceTemplateSpecVolumeSecretArgs>
Constructors
Link copied to clipboard
fun ServiceTemplateSpecVolumeSecretArgs(defaultMode: Output<Int>? = null, items: Output<List<ServiceTemplateSpecVolumeSecretItemArgs>>? = null, secretName: Output<String>)
Functions
Properties
Link copied to clipboard
If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path. Structure is documented below.
Link copied to clipboard
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: {alias}:projects/{project-id|project-number}/secrets/{secret-name}. 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.