KeyDataPlaintextKey Property
The plaintext key or private key data.
Syntax
amazonkmscontrol.KeyDataPlaintextKey
Default Value
""
Remarks
The plaintext key or private key data.
If, when GenerateDataKey or GenerateDataKeyPair is called, the IncludePlaintext parameter was , this property will reflect the plaintext data key or private key of the data key pair (respectively) that was downloaded. Otherwise, it will be empty.
In the case of GenerateDataKeyPair, this property exposes the private key in PEM format for convenience.
Always empty when GetPublicKey is called.
To read or write binary data to the property, a Variant (Byte Array) version is provided in .KeyDataPlaintextKeyB.
This property is read-only and not available at design time.
Data Type
Binary String