...
Code Block | ||
---|---|---|
| ||
aws kms create-key --policy file://policy.json --description "Aspire Encryption key" --profile kms_role > newKey |
on the file newKey you will see a json with the details of your new key. Copy the Key ARN and configure it as Aspire Properties
Optionally, you can create an alias for your key to help AWS administrators to know what this kms key is for
Code Block | ||
---|---|---|
| ||
aws kms create-alias --target-key-id [key_id_taken_from_newKey_file] --alias-name alias/aspire5-encryption-key |