News for hackers. Stuff that matters.
Re:Strongbox: a secret manager for AWS by auspex on Monday November 27, 2017 @09:29AM (#15787563)
Hi, this really needs a REST API.

Most secrets are injected in real time at the startup of of a container. For tools like this or plugins in k8 / docker to access your store you should support this. It's really bad practice to create a hard dependency on your secrets store by using the Java sdk directly in your application. If that's not the intent definitely provide a Golang sdk for proper plugin integration.

Can you explain how secrets are injected now?

Re:Strongbox: a secret manager for AWS by stiankri on Monday November 27, 2017 @09:34AM (#15787594)
Today people are using the SDK directly or injecting secrets via the CLI. Multi-language support and integration with e.g. Kubernetes is high on the wish list. The approach we are looking at for multi-language support is to drop the dependency on the AWS Encryption SDK. Creating a read-only SDK in other languages is then straight forward.
Re:Strongbox: a secret manager for AWS by rad_gruchalski on Monday November 27, 2017 @10:17AM (#15787914)
Sure, but what if the language I'm using is not high on your priority list? Isn't it easier to add a high level rest api?
Re:Strongbox: a secret manager for AWS by stiankri on Monday November 27, 2017 @10:42AM (#15788131)
That is certainly one approach we have looked at. The question then is where would you run the REST API? As a side car, as a separate service, e.g. using AWS API Gateway and Lambdas?

If you look at the work required to write a simplified read-only client using the AWS SDK for KMS and DynamoDB, while perhaps a bit more work than integrating with a REST API, it is not that far off, which is why we are considering that approach. That would of course not help if you are using a language that does not have an AWS SDK.

Re:Strongbox: a secret manager for AWS by rad_gruchalski on Monday November 27, 2017 @05:12PM (#15792051)
All AWS SDKs use the underlying REST(ey) API. The SDKs are literally machine generated. I can download the WSDLs or take these files https://github.com/aws/aws-sdk-go/tree/master/models/apis and generate one myself.
Re:Strongbox: a secret manager for AWS by auspex on Monday November 27, 2017 @01:26PM (#15789725)
Any of the suggestions above would most likely work. Running an API sidecar or separate service would just be the cost of exposing the REST API.

I could definitely envision people deciding against using your key store when comparing to something like Vault based just on the fact that you limit extensibility with no API.