Skip to content

googleSecretManagerSecret

Use this data source to get information about a Secret Manager Secret

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleSecretManagerSecret.DataGoogleSecretManagerSecret(
  this,
  "qa",
  {
    secret_id: "foobar",
  }
);

Argument Reference

The following arguments are supported:

  • secretId - (required) The name of the secret.

  • project - (optional) The ID of the project in which the resource belongs.

Attributes Reference

See google_secret_manager_secret resource for details of all the available attributes.