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 remaining secrets providers for auth token_secret support #1196

Merged

Conversation

ggriffiths
Copy link
Contributor

@ggriffiths ggriffiths commented Aug 15, 2019

Signed-off-by: Grant Griffiths [email protected]

What this PR does / why we need it:

  • We need auth token support for the remaining secrets providers

Which issue(s) this PR fixes (optional)
Closes #1195

Special notes for your reviewer:

  • I reworked pkg/auth/secrets to only use a single Auth struct, as the implementation for each cloud provider seemed very similar. For providers that have edge cases (DCOS/K8s), we handle those in Auth.GetToken()
  • SecretPublicData and SecretCustomData are for supporting the various cloud secrets providers. I.e. these fields are required for GCloud and AWS to name a few.
  • I changed api/spec/spec_handler.go to allow for these fields to be passed in and parsed.
  • There's potentially quite a bit of integration testing involved before we merge this. That said, if github.com/libopenstorage/secrets has already been tested then that should cover that work.

@ggriffiths ggriffiths force-pushed the add_remaining_secrets_providers branch 4 times, most recently from d9c19f3 to 98c95a7 Compare August 20, 2019 22:26
@ggriffiths ggriffiths force-pushed the add_remaining_secrets_providers branch from 98c95a7 to e093999 Compare August 20, 2019 22:36
@ggriffiths ggriffiths removed the request for review from lpabon August 20, 2019 22:38
@ggriffiths ggriffiths merged commit 47fae40 into libopenstorage:master Aug 20, 2019
@ggriffiths ggriffiths deleted the add_remaining_secrets_providers branch August 20, 2019 22:59
ggriffiths added a commit to ggriffiths/openstorage that referenced this pull request Aug 20, 2019
ggriffiths added a commit to ggriffiths/openstorage that referenced this pull request Aug 20, 2019
ggriffiths added a commit that referenced this pull request Aug 22, 2019
ggriffiths added a commit that referenced this pull request Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for all secrets providers for pkg/auth/secrets
2 participants