Key Args
data class KeyArgs(val deletionWindowInDays: Output<Int>? = null, val enabled: Output<Boolean>? = null, val exportable: Output<Boolean>? = null, val keyAttributes: Output<KeyKeyAttributesArgs>? = null, val keyCheckValueAlgorithm: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<KeyTimeoutsArgs>? = null) : ConvertibleToJava<KeyArgs>
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
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(deletionWindowInDays: Output<Int>? = null, enabled: Output<Boolean>? = null, exportable: Output<Boolean>? = null, keyAttributes: Output<KeyKeyAttributesArgs>? = null, keyCheckValueAlgorithm: Output<String>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<KeyTimeoutsArgs>? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Whether the key is exportable from the service.
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
Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
Link copied to clipboard