-
Notifications
You must be signed in to change notification settings - Fork 90
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 support for Workload Identity Authentication #1021
base: dev
Are you sure you want to change the base?
Conversation
} | ||
providers = append(providers, &credentials.StaticProvider{Value: credentials.Value{ | ||
AccessKeyID: "GCP_OAUTH_TOKEN", | ||
SecretAccessKey: "GCP_OATH_TOKEN", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is GCP_OATH_TOKEN
a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, no not a typo, the fields are mandatory but they're just set to placeholder values here since they're not used for GCS.
Co-authored-by: Ege Güneş <[email protected]>
Related to: percona/roadmap#26
For workloads running on GCE, fetch the service account token from the metadata server to allow for access to GCP services without explicit keys.
Tested successfully with local mongo and GCE metadata server emulator