News for hackers. Stuff that matters.
Re:Strongbox: a secret manager for AWS by sslalready on Monday November 27, 2017 @10:52AM (#15788236)
Is it possible to use Parameter Store without configuring System Manager for the instances where it's used?

I recently looked into SSM but was put off because the docs[1] suggested that you add the managed AmazonEC2RoleforSSM policy to instances, which among other things give them full read/write access to all S3 buckets. Edit: also discovered by others[2].

[1] http://docs.aws.amazon.com/systems-manager/latest/userguide/...

[2] http://www.daemonology.net/blog/2016-10-09-EC2s-most-dangero...

Re:Strongbox: a secret manager for AWS by otterley on Monday November 27, 2017 @11:26AM (#15788490)
Yes, you can - it has a separate API with its own separate permissions. There's no need to use the full SSM to take advantage of Parameter Store.
Re:Strongbox: a secret manager for AWS by cjcampbell on Tuesday November 28, 2017 @11:04PM (#15804487)
Just revised a set of developer policies today. Most systems/users will only need a couple of permissions to leverage parameter store. And if you take the time to dig into the IAM permissions, it's quite impressive how granular you can get.

The policy I built today, for example, granted SSM:GetParameter* for parameters in the '/dev' or '/staging' path hierarchy. You won't find this fully documented at the moment, but you can separately manage encryption/decryption of secrets using conditions and kms:EncryptionContext, e.g.,

"Condition": { "StringLike: { "kms:EncryptionContext:PARAMETER_ARN": "arn:aws:ssm:<region>:<acct#>:parameter/dev*" } }

One point I will note in relation to other secret management schemes is that Parameter Store seems to use CMKs directly to encrypt parameters rather than relying on data keys and envelope encryption.

Re:Strongbox: a secret manager for AWS by joaofs on Monday November 27, 2017 @11:20AM (#15788454)
Yes using AllowReadingSSMParameters and eventually the KMS key to encrypt/decrypt the parameter
Re:Strongbox: a secret manager for AWS by brazzledazzle on Monday November 27, 2017 @03:07PM (#15790720)
Some of Amazon's IAM examples are very permissive. Perhaps it's because of the need for brevity but a link to additional examples that are more comprehensive and secure would be great.
Re:Strongbox: a secret manager for AWS by g09980 on Monday November 27, 2017 @10:58AM (#15788275)
Works for me with instances having AmazonSSMReadOnlyAccess.