google_kms_crypto_key_iam_policy
Retrieves the current IAM policy data for a Google Cloud KMS crypto key.
data "google_kms_crypto_key_iam_policy" "foo" {
crypto_key_id = google_kms_crypto_key.crypto_key.id
}
The following arguments are supported:
crypto_key_id
- (Required) The crypto key ID, in the formThe attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Computed) The policy data