How to download the public key of an asymmetric CMK in AWS KMS

0 votes

Hi Team,

I have one public key of an asymmetric CMK in AWS. I want to download the key. How can I do that?

Nov 20, 2020 in AWS by akhtar
• 38,170 points
54 views

1 answer to this question.

0 votes

Hi@akhtar,

The following get-public-key example downloads the public key of an asymmetric CMK. In addition to returning the public key, the output includes information that you need to use the public key safely outside of AWS KMS, including the key usage and supported encryption algorithms.

$ aws kms get-public-key --key-id ID
answered Nov 20, 2020 by MD
• 95,060 points

Related Questions In AWS

0 votes
2 answers
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
11,234 views
0 votes
1 answer

How to create an AWS EC2 Instance in the VPC with Boto3 module?

Hi@akhtar, You can use a network interface in ...READ MORE

answered Oct 10, 2020 in AWS by MD
• 95,060 points
122 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to get the contents of a folder in an AWS CodeCommit repository?

Hi@akhtar, The following get-folder example demonstrates how to get the ...READ MORE

answered Nov 25, 2020 in AWS by MD
• 95,060 points
71 views
0 votes
1 answer

how to get the list of aws services i am used in aws my account by using the lambda function

Hi@shalk, You can create a session in your ...READ MORE

answered Sep 24, 2020 in AWS by MD
• 95,060 points
108 views