Tuesday, August 23, 2022
HomeCyber SecurityIncluding a KMS Key Alias With CloudFormation | by Teri Radichel |...

Including a KMS Key Alias With CloudFormation | by Teri Radichel | Cloud Safety | Aug, 2022


ACM.38 Giving our KMS key a user-friendly identify

Key Alias

KMS key for the ID. With a view to determine which Key ID was the one we wished we must take a look at the important thing coverage and configuration, or get the important thing ID from the CloudFormation template to be able to make certain we had the best one.

It’s attainable to provide a KMS key a pleasant identify, or alias.

You are able to do that utilizing the CloudFormation KeyAlias sort:

While you create a key alias the AliasName has to start out with /alias. Verify the documentation right here for some other identify necessities, in the event you get an error associated to that.

Discover that you simply move within the goal Key ID. The important thing alias is created individually from the important thing itself.

You could find working templates for our key alias right here on GitHub:

There’s additionally a separate deployment script for the Key Alias.

Initially I had the important thing and the alias in the identical template, however the important thing takes a very long time to deploy. It was simpler to check and deploy the alias individually. I may also replace the alias with out working the important thing template once more.

Be aware that you simply won’t be able to delete the important thing if the alias is referencing the important thing id output so delete the important thing alias first, then the important thing. In case you put them each in the identical CloudFormation template, AWS will deal with that for you.

Teri Radichel

In case you appreciated this story please clap and comply with:

Medium: Teri Radichel or E-mail Listing: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests companies through LinkedIn: Teri Radichel or IANS Analysis

© 2nd Sight Lab 2022

All of the posts on this sequence:

____________________________________________

Writer:

Cybersecurity for Executives within the Age of Cloud on Amazon

Want Cloud Safety Coaching? 2nd Sight Lab Cloud Safety Coaching

Is your cloud safe? Rent 2nd Sight Lab for a penetration check or safety evaluation.

Have a Cybersecurity or Cloud Safety Query? Ask Teri Radichel by scheduling a name with IANS Analysis.

Cybersecurity & Cloud Safety Sources by Teri Radichel: Cybersecurity and Cloud safety courses, articles, white papers, displays, and podcasts



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments