Key

class Key : KotlinCustomResource

Resource for managing an AWS Payment Cryptography Control Plane Key.

Example Usage

Basic Usage

resources:
test:
type: aws:paymentcryptography:Key
properties:
exportable: true
keyAttributes:
- keyAlgorithm: TDES_3KEY
keyClass: SYMMETRIC_KEY
keyUsage: TR31_P0_PIN_ENCRYPTION_KEY
keyModesOfUse:
- decrypt: true
encrypt: true
wrap: true
unwrap: true

Import

Using pulumi import, import Payment Cryptography Control Plane Key using the arn:aws:payment-cryptography:us-east-1:123456789012:key/qtbojf64yshyvyzf. For example:

$ pulumi import aws:paymentcryptography/key:Key example arn:aws:payment-cryptography:us-east-1:123456789012:key/qtbojf64yshyvyzf

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the key.

Link copied to clipboard
Link copied to clipboard
val enabled: Output<Boolean>

Whether to enable the key.

Link copied to clipboard
val exportable: Output<Boolean>

Whether the key is exportable from the service.

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

Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. The following arguments are optional:

Link copied to clipboard
val keyCheckValue: Output<String>

Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.

Link copied to clipboard

Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).

Link copied to clipboard
val keyOrigin: Output<String>

Source of the key material.

Link copied to clipboard
val keyState: Output<String>

State of key that is being created or deleted.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val timeouts: Output<KeyTimeouts>?
Link copied to clipboard
val urn: Output<String>