Use this data source to get information about a Secret Manager Secret
data "google_secret_manager_secret" "qa" {
secret_id = "foobar"
}
The following arguments are supported:
secret_id
- (required) The name of the secret.
project
- (optional) The ID of the project in which the resource belongs.
See google_secret_manager_secret resource for details of all the available attributes.