- Priya
- November 29, 2021
How to Create Asymmetirc Key Management Service on AWS
AWS Key Management Service (AWS KMS) supports asymmetric keys. We can create, manage, and use public/private key pairs to protect your application data using the new APIs via the AWS SDK.
Asymmetric KMS provides public & private Key pair that can be used for encrypt & decrypt the data.
- Login to aws portal.
- Click on Services.
- Under Security, Identity,& Compliance select Key Management Service.
- Click on Create Key.
- Select Asymmetric Key type.
- Click on encrypt & decrypt.
- Select key spec.
- Click on Next.
- Provide Alias name.
- Click on Add Tag.
- Provide tag key name & value.
- Provide Key Administrative permission role. First create a IAM user & role click on link https://www.hackerxone.com/blog/how-create-iam-userrole-policy-amazon-web-serviceaws
- Enable Key administrators to delete this key
- Click on Next.
- Select exiting Key usage permission
- We can add multiple AWS account.
- Click on Add another AWS account & provide AWS account ID.
- Click on Next.
- Review all Key Configurations.
- Click on Finish.
- After sometime Asymmetric KMS is ready.
Create Asymmetric KMS using Shell
- Setup aws-cli on your system so click on link https://www.hackerxone.com/blog/how-install-configure-aws-cli-ubuntu-1804
- Run the following command:
aws kms create-key –key-usage <value>–tags TagKey=Name,TagValue=Test –description “example” –customer-master-key-spec ASYMMETRIC_DEFAULT –origin <value