-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 Federation in Stackdriver output plugin #6083
Comments
There is a workaround by running the gke-addon-sidecar as the metadata server. That sidecar supports the Workload Identity Federation, and re-expose as a metadata server on localhost. In the stackdriver output config, you can then point metadata_server to it. Sidecar image can be found at gcr.io/gke-multi-cloud-release/gke-addon-sidecar |
Ah interesting, thanks for this, this is potentially a neat workaround. |
There is an example of using the sidecar in our another repo: https://github.com/GoogleCloudPlatform/anthos-samples/blob/main/aws-logging-monitoring/logging/forwarder.yaml#L94-L115 If you find this useful and we can add this to the documentation of Fluent Bit. Edit: The way the fleet workload identity works is to use a Kubernetes service account (KSA) to authenticate but you mentioned you want to use the AWS tokens? Could you provide the documentations of the federation between GCP and AWS? |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
Is your feature request related to a problem? Please describe.
We're currently deploying new infrastructure in AWS but want to be able to keep our logs backend and dashboard as Stackdriver/Google Cloud Logging.
This is possible with the Stackdriver exporter but requires explicit passing of the long lived private key which is not ideal.
Given that Workload Identity Federation exists between GCP and AWS (and other providers), it would be great to leverage this instead to avoid the need to manage long lived private keys for the cross-cloud authentication.
The Bigquery exporter plugin already supports this.
Describe the solution you'd like
Ability to opt into using Workload Identity Federation with the Stackdriver exporter so that I can send logs from AWS to Stackdriver without needing to manage long lived private keys.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: