Values.KeySourceMetadata about an Amazon Web Services Payment Cryptography key.
type nonrec t = {keyArn : KeyArn.t option;The Amazon Resource Name (ARN) of the key.
*)keyAttributes : KeyAttributes.t option;The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
*)keyCheckValue : KeyCheckValue.t option;The 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.
*)keyCheckValueAlgorithm : KeyCheckValueAlgorithm.t option;The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
*)enabled : Boolean.t option;Specifies whether the key is enabled.
*)exportable : Boolean.t option;Specifies whether the key is exportable. This data is immutable after the key is created.
*)keyState : KeyState.t option;The state of key that is being created or deleted.
*)keyOrigin : KeyOrigin.t option;The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value is AWS_PAYMENT_CRYPTOGRAPHY. For keys imported into Amazon Web Services Payment Cryptography, the value is EXTERNAL.
*)createTimestamp : Timestamp.t option;The date and time when the key was created.
*)usageStartTimestamp : Timestamp.t option;The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.
*)usageStopTimestamp : Timestamp.t option;The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.
*)deletePendingTimestamp : Timestamp.t option;The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when KeyState is DELETE_PENDING and the key is scheduled for deletion.
*)deleteTimestamp : Timestamp.t option;The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when when the KeyState is DELETE_COMPLETE and the Amazon Web Services Payment Cryptography key is deleted.
*)deriveKeyUsage : DeriveKeyUsage.t option;The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.
*)multiRegionKeyType : MultiRegionKeyType.t option;Indicates whether this key is a Multi-Region key and its role in the Multi-Region key hierarchy. Multi-Region replication keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a Primary Region key (PRK) (which can be replicated to other Amazon Web Services Regions) or a Replica Region key (RRK) (which is a copy of a PRK in another Region). For more information, see Multi-Region key replication.
*)primaryRegion : Region.t option;replicationStatus : ReplicationStatus.t option;Information about the replication status of the key across different Amazon Web Services Regions. This field provides details about the current state of key replication, including any status messages or operational information. It helps track the progress and health of key replication operations.
*)usingDefaultReplicationRegions : Boolean.t option;Indicates whether this key is using the account's default replication regions configuration for Multi-Region key replication. When set to true, the key automatically replicates to the regions specified in the account's default replication settings. When set to false, the key has a custom replication configuration that overrides the account defaults.
*)mpaStatus : MpaStatus.t option;The Multi-Party Approval (MPA) status for the key, if applicable.
*)}val make :
?keyArn:??? ->
?keyAttributes:??? ->
?keyCheckValue:??? ->
?keyCheckValueAlgorithm:??? ->
?enabled:??? ->
?exportable:??? ->
?keyState:??? ->
?keyOrigin:??? ->
?createTimestamp:??? ->
?usageStartTimestamp:??? ->
?usageStopTimestamp:??? ->
?deletePendingTimestamp:??? ->
?deleteTimestamp:??? ->
?deriveKeyUsage:??? ->
?multiRegionKeyType:??? ->
?primaryRegion:??? ->
?replicationStatus:??? ->
?usingDefaultReplicationRegions:??? ->
?mpaStatus:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Map of
([> `String of Region.t ]
* [> `Structure of
(string * [> `Enum of string | `String of String_.t ]) list ])
list
| `String of KeyArn.t
| `Structure of
(string
* [> `Enum of string
| `String of MpaSessionArn.t
| `Structure of
(string * [> `Boolean of PrimitiveBoolean.t ]) list
| `Timestamp of Timestamp.t ])
list
| `Timestamp of Timestamp.t ])
list ]