Interface CloudRunServiceTemplateSpecContainersEnvValueFromSecretKeyRef

    • Method Detail

      • getKey

        @Stability(Stable)
        @NotNull
        String getKey()
        A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#key CloudRunService#key}

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        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/{project-id|project-number}/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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#name CloudRunService#name}