News for hackers. Stuff that matters.
Re:The Fargate Illusion by scarface74 on Monday April 15, 2019 @09:43AM (#19665226)
What do you mean?
Re:The Fargate Illusion by tie_ on Tuesday April 16, 2019 @04:17PM (#19676918)
CloudFormation supports the "NoEcho" option specifically to allow password-type parameters, which are not inspectable. How is that not a secure string parameter?
Re:The Fargate Illusion by scarface74 on Sunday April 21, 2019 @01:34PM (#19713315)
I realize this response is late.

The term “parameters” is unfortunately overloaded.

CloudFormation parameters are used within CF. We were referring to parameters in Parameter Store.

https://docs.aws.amazon.com/systems-manager/latest/userguide...

But then, how do you get the secret value from CF to parameter store? If you put the value of the parameter in your template, then it is stored unencrypted in your template that is probably in source control.

For that, I use a combination of NoEcho in CF and use that user entered value as a !Ref when creating the parameter store. Run the template manually one time and then you can have it default to the existing value.

But you need a custom resource to create a secure string type.