Skip to content

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 on the Private Key on the Valtix Controller while using the AWS - KMS option

Details of AWS KMS Encryption Help