AWS KMS - Encrypt Private Key

Use the following command to encrypt the private key stored in the local file privatekey.pem.


aws kms encrypt --key-id 12345678-1234-1234-1234-12345678900 \
    --plaintext fileb://privatekey.pem \
    --output text --query CiphertextBlob > encrypted-cipher-text.txt

Copy the content of encrypted-cipher-text.txt and provide this as the content for the Private Key on the Multicloud Defense Controller while using the AWS - KMS option.

For more information, see AWS KMS Encyption help.