Crypto Key IAMPolicy Args
data class CryptoKeyIAMPolicyArgs(val cryptoKeyId: Output<String>? = null, val policyData: Output<String>? = null) : ConvertibleToJava<CryptoKeyIAMPolicyArgs>
Import
IAM member imports use space-delimited identifiers; the resource in question, the role, and the account. This member resource can be imported using the crypto_key_id
, role, and member identity e.g.
$ pulumi import gcp:kms/cryptoKeyIAMPolicy:CryptoKeyIAMPolicy crypto_key "your-project-id/location-name/key-ring-name/key-name roles/viewer user:foo@example.com"
Content copied to clipboard
IAM binding imports use space-delimited identifiers; first the resource in question and then the role. These bindings can be imported using the crypto_key_id
and role, e.g.
$ pulumi import gcp:kms/cryptoKeyIAMPolicy:CryptoKeyIAMPolicy crypto_key "your-project-id/location-name/key-ring-name/key-name roles/editor"
Content copied to clipboard
IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the crypto_key_id
, e.g.
$ pulumi import gcp:kms/cryptoKeyIAMPolicy:CryptoKeyIAMPolicy crypto_key your-project-id/location-name/key-ring-name/key-name
Content copied to clipboard