Using an SSM Parameter to Pass Parameters To A Container

ACM.429 Abstracting out variations to prevent hardcoded values in the code in a deployment container

Teri Radichel
Cloud Security
Published in
8 min readJan 11, 2024

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Part of my series on Automating Cybersecurity Metrics. The Code.

🔒 Related Stories: AWS Security | Application Security | Abstraction

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In the last post I migrated code to deploy a delegated administrator over to our new container deployment method.

One of the things I had to modify in the code to look up the account ID of the account we want to use as our delegated administrator account like this:

But what if an organization wants to use another account name besides org-policies as the account for their organizations delegated administrator?

--

--

Teri Radichel
Teri Radichel

Written by Teri Radichel

CEO 2nd Sight Lab | Pentesting | Research | AWS Security Hero | Masters of Infosec & Masters Software Engineering | GSE | IANS | SANS Difference Makers Award