Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/content/docs/platform/integrations/cloud-providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,20 @@ federated credentials. Oz uses
[**executable-sourced credentials**](https://docs.cloud.google.com/iam/docs/workload-identity-federation-with-other-providers#create-credential-config)
to configure ADC for automatic token rotation.

#### Automatic `gcloud` sign-in

Environment variables alone are enough for the Google SDKs, but `gcloud` reports no active account until
it signs in through its own auth system, and some tooling depends on an active account. During provider
setup, Oz therefore also runs `gcloud auth login` against the federated credential file so `gcloud` reports
the federated identity as its active account.

This step is best-effort and never blocks the run:

* **`gcloud` isn't installed** - Oz skips the sign-in. The ADC environment variables still provide credentials to the Google SDKs.
* **Sign-in fails or times out** - Oz logs the failure and continues. The ADC environment variables still work, so a run only loses the active-account convenience.

To confirm the account inside a run, use `gcloud auth list`.

## Other providers

To authenticate from Oz to another provider that supports OIDC federation, you can issue tokens
Expand Down
Loading