KeyRingIAMBindingArgs

data class KeyRingIAMBindingArgs(val condition: Output<KeyRingIAMBindingConditionArgs>? = null, val keyRingId: Output<String>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<KeyRingIAMBindingArgs>

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/keyRingIAMBinding:KeyRingIAMBinding 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/keyRingIAMBinding:KeyRingIAMBinding 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/keyRingIAMBinding:KeyRingIAMBinding key_ring_iam your-project-id/location-name/key-ring-name

Constructors

Link copied to clipboard
fun KeyRingIAMBindingArgs(condition: Output<KeyRingIAMBindingConditionArgs>? = null, keyRingId: Output<String>? = null, members: Output<List<String>>? = null, role: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

) An IAM Condition for a given binding. Structure is documented below.

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 members: Output<List<String>>? = null
Link copied to clipboard
val role: Output<String>? = null

The role that should be applied. Only one gcp.kms.KeyRingIAMBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.