Closed jdyke closed 3 years ago
In this section https://github.com/ScaleSec/gcp-workload-identity-federation#using-the-module we provide a code snippet of how to retrieve the SA access token. It would be beneficial for those unfamiliar with python to also include code to list a bucket or copy an object with the retrieved token.
We can include an example using the requests library, GCP SDK, curl -H from the cli, etc.
curl -H
We can provide these via an examples/ folder and call that out on the readme.
examples/
In this section https://github.com/ScaleSec/gcp-workload-identity-federation#using-the-module we provide a code snippet of how to retrieve the SA access token. It would be beneficial for those unfamiliar with python to also include code to list a bucket or copy an object with the retrieved token.