Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to suppress output of an execution step while still allowing you to pass it to another step? #41

Open
vennemp opened this issue Nov 18, 2021 · 0 comments

Comments

@vennemp
Copy link

vennemp commented Nov 18, 2021

I am using SSM Automation to configure my windows instances. However, part of the configuration requires using privileged access in AD (like Domain Admin).

My idea was:

  1. Store the AD Admin PW in SSM Parameter Store.
  2. Use Automation ExecuteAWSAPI Action ssm:GetParameter to get the password. **
  3. Pass it as an output to an executePowerShell Action.

I did not want to give the instance profile of the instance running the commands ability to get the parameter to prevent someone using the creds on the instance to escalate privileges.

This works great in general but the problem is the output of the ExecuteAWSAPI ssm:GetParameter action displays the password in plain text in the output. I was hoping for something like CloudFormation's NoEcho feature which would allow me to use the output properly in the automation without displaying the password anywhere in logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant