Closed C1aud3 closed 2 years ago
Closing this issue because it does not apply to version 2.1.4
. I realized that my pom.xml
configuration that was generated by running gcloud artifacts print-settings mvn
was referencing an outdated version (2.1.1
) of the artifact registry maven wagon.
Is there support for credentials obtained through Workload Identity Federation?
When configuring
GOOGLE_APPLICATION_CREDENTIALS
with the credentials obtained from WIF through google-github-actions/auth, I get the following error:12 11.22 [INFO] ArtifactRegistry Maven Wagon: Retrieving credentials...
12 11.22 [INFO] Trying Application Default Credentials...
12 11.22 [INFO] Failed to retrieve Application Default Credentials: Error reading credential file from environment variable GOOGLE_APPLICATION_CREDENTIALS, value 'creds.json': Error reading credentials from stream, 'type' value 'external_account' not recognized. Expecting 'authorized_user' or 'service_account'.