vivantehealth/Authenticate to Google Cloud
Authenticate to Google Cloud with GitHub Actions OIDC tokens and Workload Identity Federation and setup gcloud
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| workload_identity_provider | GCP Workload Identity Pool Provider ID (e.g. projects/<project-number>/locations/global/workloadIdentityPools/<pool>/providers/<id>) | yes | — |
| gcp_service_account | GCP service Account | yes | — |
| use_system_gcloud | Set to false to install latest gcloud from web. False is required in order to install additional components | no | true |
Outputs
| name | description |
|---|---|
| project_id | Provided or extracted value for the Google Cloud project ID. |
| credentials_file_path | Path on the local filesystem where the generated credentials file resides. This is only available if "create_credentials_file" was set to true. |
| access_token | The Google Cloud access token for calling other Google Cloud APIs. This is only available when "token_format" is "access_token". |
| access_token_expiration | The RFC3339 UTC "Zulu" format timestamp for the access token. This is only available when "token_format" is "access_token". |
| id_token | The Google Cloud ID token. This is only available when "token_format" is "id_token". |