SecretEnvVarCloudfunctionsV2beta constructor

const SecretEnvVarCloudfunctionsV2beta({
  1. Input<String>? key,
  2. Input<String>? project,
  3. Input<String>? secret,
  4. Input<String>? version,
})

Creates a new SecretEnvVarCloudfunctionsV2beta. key Name of the environment variable. project Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function. secret Name of the secret in secret manager (not the full resource name). version Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

Implementation

const SecretEnvVarCloudfunctionsV2beta({
  this.key,
  this.project,
  this.secret,
  this.version,
});