KeyRingIAMPolicyArgs

data class KeyRingIAMPolicyArgs(val keyRingId: Output<String>? = null, val policyData: Output<String>? = null) : ConvertibleToJava<KeyRingIAMPolicyArgs>

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 key_ring_id, role, and account e.g.

$ pulumi import gcp:kms/keyRingIAMPolicy:KeyRingIAMPolicy key_ring_iam "your-project-id/location-name/key-ring-name roles/viewer user:foo@example.com"

IAM binding imports use space-delimited identifiers; the resource in question and the role. This binding resource can be imported using the key_ring_id and role, e.g.

$ pulumi import gcp:kms/keyRingIAMPolicy:KeyRingIAMPolicy key_ring_iam "your-project-id/location-name/key-ring-name roles/cloudkms.admin"

IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the key_ring_id, e.g.

$ pulumi import gcp:kms/keyRingIAMPolicy:KeyRingIAMPolicy key_ring_iam your-project-id/location-name/key-ring-name

Constructors

Link copied to clipboard
fun KeyRingIAMPolicyArgs(keyRingId: Output<String>? = null, policyData: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): KeyRingIAMPolicyArgs

Properties

Link copied to clipboard
val keyRingId: Output<String>? = null

The key ring ID, in the form {project_id}/{location_name}/{key_ring_name} or {location_name}/{key_ring_name}. In the second form, the provider's project setting will be used as a fallback.

Link copied to clipboard
val policyData: Output<String>? = null

The policy data generated by a gcp.organizations.getIAMPolicy data source.