Closed so-jelly closed 1 year ago
Hi there @so-jelly :wave:!
Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps.
Hi @so-jelly
Sorry, I'm not sure I understand your question. The JSON file created for Workload Identity Federation will always be "external account" - that's the definition of Workload Identity Federation. The token
parameter controls whether an oauth access token or an id token is minted in addition to the authentication. If you specify a value for token
, then you can retrieve the token in subsequent steps via an output.
In this case, you will need to work with the authors of the dependency which is throwing that error to add support for Workload Identity Federation.
TL;DR
i want to authenticate with workload identity and create an oauth token to be used by other steps. currently, the credentials file created when using workload identity is created with the 'external_account' type.
Expected behavior
setting
token_format: "access_token"
will produce a credentials file of type: 'authorized_user'.Observed behavior
the credentials files is created with type: external_account
Action YAML
Log output
Additional information
using spring boot, needs access to cloud mysql, pubsub, datastore