News for hackers. Stuff that matters.
Re:Strongbox: a secret manager for AWS by joaofs on Monday November 27, 2017 @09:46AM (#15787692)
why not just use parameter store? https://aws.amazon.com/ec2/systems-manager/parameter-store/. Plus: don't use credentials directly, use the assume role feature.
Re:Strongbox: a secret manager for AWS by scrollaway on Monday November 27, 2017 @10:48AM (#15788189)
I don't understand why so few people talk about ParameterStore. It's a fantastic tool, and AWS does such a terrible job of advertising it.. hidden under SSM, an offering non-enterprise users probably don't care about, and giving the wrong impression that it's only for EC2.

ParameterStore should be part of KMS instead I think.

Re:Strongbox: a secret manager for AWS by kompiuter on Monday November 27, 2017 @11:33AM (#15788552)
You're right. I've never even heard of ParameterStore before.
Re:Strongbox: a secret manager for AWS by res0nat0r on Monday November 27, 2017 @12:14PM (#15788960)
Exactly. I was wishing for an AWS based cli accessible credstore service for a while and didn't even know this existed until just the other week.

One big problem with AWS and their incremental features / improvements is you never hear about much of it, or its buried in a post from Jeff's blog that you have to watch like a hawk to keep up with.

Re:Strongbox: a secret manager for AWS by sslalready on Monday November 27, 2017 @05:57PM (#15792462)
I can recommend subscribing to Most recent announcements from AWS[1] for keeping up. You'll get weekly summary emails with headlines, HN style. They link to articles here[2].

[1] https://aws.amazon.com/subscribe-to-aws-announcements/

[2] https://aws.amazon.com/about-aws/whats-new/2017/

Re:Strongbox: a secret manager for AWS by senand on Monday November 27, 2017 @12:21PM (#15789014)
I had/have the same problem.

Since a while, I subscribed to „AWS this week“ on YouTube from a cloud Guru. This is just 5 minutes, and you have a good idea what‘s going on. (I have no affiliation)

Re:Strongbox: a secret manager for AWS by ejcx on Monday November 27, 2017 @03:50PM (#15791208)
We wrote about our use of parameter store extensively. We have been very happy with it:

https://segment.com/blog/the-right-way-to-manage-secrets/

I really think it's just an AWS account with credstash under the hood, that some Amazon engineers work on full time. Seems like a no-brainer to use imo, since it's very polished.

Re:Strongbox: a secret manager for AWS by stiankri on Monday November 27, 2017 @10:00AM (#15787783)
AWS Parameter Store certainly has merit. As you can see from the comparison table there are certain functionality that is supported by Strongbox which AWS Parameter Store does not currently offer, like larger secrets, more secrets etc.

You can use the assume role functionality with Strongbox. The examples don't do this for simplicity.

Re:Strongbox: a secret manager for AWS by rad_gruchalski on Monday November 27, 2017 @10:20AM (#15787950)
Yup, Strongbox has a dependency on DynamoDB so one may as well research the "native AWS" approach: https://aws.amazon.com/blogs/compute/managing-secrets-for-am... The nice thing about doing it the way described in the linked article, is that it composes really well with IAM. VMs, ECS tasks, Lambda functions and so on.
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.
Re:Strongbox: a secret manager for AWS by jwineinger on Monday November 27, 2017 @09:56AM (#15787757)
This. We used credstash for a while (same concept as this, at a glance) and now we're running for parameter store
Re:Strongbox: a secret manager for AWS by biochimia on Monday November 27, 2017 @09:52AM (#15787736)
The parameter store was not available at the time Strongbox was designed and developed. The Strongbox project page has a nice matrix comparing how Strongbox stacks up against Parameter Store.

In terms of not using credentials directly, relying on AWS KMS for encryption keys, and the use of IAM policies to control access to secrets, Strongbox and AWS Parameter Store share a similar design.