Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial version of credentials manager #19

Merged
merged 15 commits into from
Apr 2, 2019
Merged

Conversation

bodhi
Copy link
Member

@bodhi bodhi commented Dec 7, 2018

This is a prototype to have a single entry point for apps to use to manage credentials.

At the moment it supports:

  1. AWS: Local configuration via AWS environment variables (intended to be used with AWS_SDK_LOAD_CONFIG and AWS_PROFILE.

2: AWS: authenticating using K8s service accounts against Vault.

I have a test app that can use either service with no code changes (only environment variables), it's coming soon. Also tests and documentation...

If running on K8s node (determined by presence of account token at
`/var/run/secrets/kubernetes.io/serviceaccount/token`), then try to
fetch AWS credentials from Vault.

Otherwise fallback to default AWS session that can load credentials
from environment.
@bodhi bodhi self-assigned this Dec 7, 2018
@bodhi
Copy link
Member Author

bodhi commented Dec 7, 2018

I'm pushing it now so I can try converting some client apps to use it.

@bodhi bodhi force-pushed the vault-aws-credentials branch from 7059362 to d698f58 Compare December 12, 2018 01:37
@bodhi bodhi merged commit 9a2af55 into master Apr 2, 2019
@bodhi bodhi deleted the vault-aws-credentials branch April 2, 2019 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants