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 a secret union field for credentials #294

Merged
merged 6 commits into from
Sep 18, 2019
Merged

Conversation

hakanmemisoglu
Copy link
Contributor

@hakanmemisoglu hakanmemisoglu commented Sep 17, 2019

Change Overview

We need a new credentials type to accept optional AWS session token.

  • Adds new credential type to accept generic credentials.

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

@@ -249,12 +249,14 @@ type CredentialType string

const (
CredentialTypeKeyPair CredentialType = "keyPair"
CredentialTypeAws CredentialType = "aws"
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than include the type Aws here, let's make this more general purpose since the type will already be captured by the secret.

@hakanmemisoglu
Copy link
Contributor Author

hakanmemisoglu commented Sep 17, 2019

Converted it to TypedSecret. I am open for suggestions for the name.

@hakanmemisoglu hakanmemisoglu changed the title Add AWS credentials type Add typed credentials Sep 17, 2019
@hakanmemisoglu hakanmemisoglu changed the title Add typed credentials Add a secret union field for credentials Sep 18, 2019
@hakanmemisoglu hakanmemisoglu merged commit 85f08dd into master Sep 18, 2019
@pavannd1 pavannd1 deleted the aws-cred-prof 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

4 participants