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

Update getOSSecret to use Secret credentials in AWS #309

Merged
merged 5 commits into from
Sep 20, 2019

Conversation

hakanmemisoglu
Copy link
Contributor

Change Overview

Support secret credential type in S3.

  • Adds a function to properly extract AWS credentials.
  • Support both keypair and secret credentials in S3.

Pull request type

Please check the type of change your PR introduces:

  • Work in Progress
  • Refactoring (no functional changes, no api changes)
  • Trivial/Minor
  • Bugfix
  • Feature
  • Documentation

@SupriyaKasten
Copy link
Contributor

looks good to me @hakanmemisoglu will let @pavannd1 or @tdmanv accept the PR.

@@ -40,8 +41,12 @@ func ObjectStoreProfileOrSkip(c *check.C, osType objectstore.ProviderType, locat

switch osType {
case objectstore.ProviderTypeS3:
session, ok := os.LookupEnv(awsconfig.SessionToken)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[minor] Move this below key, val and can be inlined I think

pkg/location/location.go Outdated Show resolved Hide resolved
@mergify mergify bot merged commit 2192605 into master Sep 20, 2019
hakanmemisoglu pushed a commit that referenced this pull request Sep 20, 2019
mergify bot pushed a commit that referenced this pull request Sep 20, 2019
* Revert "Update getOSSecret to use Secret credentials in AWS (#309)"

This reverts commit 2192605.

* Revert "Add secret type credential to validation code (#308)"

This reverts commit 9178d4c.

* Revert "Support creating S3 args from Secret type Credential (#305)"

This reverts commit d8f7d76.

* Revert "Add secret type for Param.Credentials (#300)"

This reverts commit ad3cbce.
@pavannd1 pavannd1 deleted the update-getossecret branch October 1, 2019 21:08
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.

None yet

3 participants