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 support for Workload Identity Authentication #1021

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

terryyanko
Copy link

@terryyanko terryyanko commented Sep 23, 2024

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

@it-percona-cla
Copy link

it-percona-cla commented Sep 23, 2024

CLA assistant check
All committers have signed the CLA.

@terryyanko terryyanko marked this pull request as ready for review September 23, 2024 17:30
@defbin defbin added this to the next milestone Sep 29, 2024
pbm/storage/s3/s3.go Outdated Show resolved Hide resolved
}
providers = append(providers, &credentials.StaticProvider{Value: credentials.Value{
AccessKeyID: "GCP_OAUTH_TOKEN",
SecretAccessKey: "GCP_OATH_TOKEN",
Copy link
Contributor

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?

Copy link
Author

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.

@defbin defbin removed this from the 2.8.0 milestone Nov 14, 2024
Co-authored-by: Ege Güneş <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants