Policy

class Policy : KotlinCustomResource

Provides a KMS Policy resource. Permission policies which can be bound to the Application Access Points. For information about KMS Policy and how to use it, see What is Policy.

NOTE: Available since v1.210.0.

Import

KMS Policy can be imported using the id, e.g.

$ pulumi import alicloud:kms/policy:Policy example <id>

Properties

Link copied to clipboard

Network Rules in JSON struct.

Link copied to clipboard
val description: Output<String>?

Description.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kmsInstanceId: Output<String>

KMS instance .

Link copied to clipboard
val permissions: Output<List<String>>

Allowed permissions (RBAC)Optional values:"RbacPermission/Template/CryptoServiceKeyUser" and "RbacPermission/Template/CryptoServiceSecretUser".

Link copied to clipboard
val policyName: Output<String>

Policy Name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resources: Output<List<String>>

The resources that the permission policy allows to access.Use "key/${KeyId}" or "key/" to specify a key or all keys.Use "secret/${SecretName}" or "secret/" to specify a secret or all secrets. //

Link copied to clipboard
val urn: Output<String>