ClearKeyData Method
Clears information stored in the KeyData properties.
Syntax
async amazonkms.clearKeyData(plaintextOnly : boolean): Promise<void>
Remarks
This method clears the information stored in the KeyData* properties, removing it from memory. If the PlaintextOnly parameter is true, only the KeyDataPlaintextKey property is cleared.