9 ms·
Biscuit: a multi-region key value store for your AWS infrastructure secrets
- technologia 10y agoThe project is nice, but I'm gonna have to stick with Vault as I like the flexibility of storage backends and not locked into AWS for enterprise-y apps that can't go to AWS.
- techie128 10y agoHow does Vault verify the identity of the host requesting access to the credentials? I didn't find anything in the documentation that would give me information pertaining to that.
- elliotanderson 10y agoYou can use the new AWS-EC2 auth backend in Vault 0.6 https://www.vaultproject.io/docs/auth/aws-ec2.html https://www.vaultproject.io/docs/auth/aws-ec2.html
- otterley 10y agoThat backend is very nascent, so don't oversell it. It currently is AMI dependent, making it next to useless for a lot of teams.
- otterley 10y agoIt doesn't, at least not by itself. There are ways to make it work, though, if you're clever. We've got an internal daemon that watches for instance launches via SNS notifications (published to an SQS queue); the daemon then requests a bootstrap token from Vault on behalf of the new instance and passes it to the instance via another SQS queue. The new instance then consumes the bootstrap token from the queue and exchanges it for whatever other tokens it has permission to obtain.
- thatrascaltiger 10y agoIt looks like this is fairly similar to Mozilla sops[1]. [1]https://github.com/mozilla/sops https://github.com/mozilla/sops
- coredog64 10y agoI read the documentation but can't determine if sops supports credentials via IAM roles. Can anyone with experience chime in?
- thatrascaltiger 10y agoIt does - https://github.com/mozilla/sops/blob/master/sops/__init__.py#L1127 https://github.com/mozilla/sops/blob/master/sops/__init__.py...
- Xorlev 10y agoSomewhat off-topic, but I read dcoker's username as docker at first and was fairly confused as to why docker was producing something like this just for AWS.
- hendry 10y agoAt work we use chef to deploy our credentials via KML flat files on the servers that require them. Works rather well.
- otterley 10y agoWhat are KML flat files? And how are you maintaining them without keeping the secrets in plaintext in source control?
- carrja99 10y agoI prefer credstash (https://github.com/fugue/credstash https://github.com/fugue/credstash) which uses KMS and stores encrypted values in dynamodb. It has built in ansible support via lookups too!
- amhoab 10y agoThis is also similiar to Sneaker (https://github.com/codahale/sneaker https://github.com/codahale/sneaker), which is written in Go. It doesn't copy to other regions by default, but it's not hard to handle that on your own. This also uses KMS, but stores encrypted secrets in S3.
- moondev 10y agoI feel like this problem is already solved with iam ec2 instance roles http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles...
- deleted 10y ago[deleted]
- manojlds 10y agoYou need to look at this tool and understand what it does.
- matt_wulfeck 10y agoFair enough, but IAM roles does fit all of the requirements listed in the "is biscuit right for me?" section.
- deleted 10y ago[deleted]
- bluecmd 10y agoWhy no key rotation? I'd be very careful with something that doesn't rotate keys.
- whisk3rs 10y agoKeys: KMS handles rotation of the master key automatically (http://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html http://docs.aws.amazon.com/kms/latest/developerguide/rotate-...). The ephemeral key used to encrypt values is changed any time a value is set. Values: https://github.com/dcoker/biscuit#how-do-i-rotate-the-values https://github.com/dcoker/biscuit#how-do-i-rotate-the-values