-
Notifications
You must be signed in to change notification settings - Fork 433
Open
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
This is described internally at go/adc-impersonation
Basically it requires extending the parsing of the ADC configuration file (if it exists) to support a new type: impersonated_service_account. This new type supports the following JSON format:
"service_account_impersonation_url":string, the URL to use for the impersonation workflow.- Example:
"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken"
- Example:
"delegates":arrayofstring. The list of delegates to use in the impersonation workflow.- Example:
["[email protected]", "[email protected]" ]
- Example:
"source_credentials":objectthe base credentials to authenticate with."type":stringthe value"impersonated_service_account"
Recall that we already implement this form of impersonation for external accounts, so there is existing code to reuse.
For details on the impersonation workflow, see:
Metadata
Metadata
Assignees
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.