package impersonate

Import Path
	google.golang.org/api/internal/impersonate (on go.dev)

Dependency Relation
	imports 9 packages, and imported by 2 packages

Involved Source Files Package impersonate is used to impersonate Google Credentials.
Package-Level Type Names (total 4, in which 1 are exported)
/* sort exporteds by: | */
Config for generating impersonated credentials. Delegates are the service accounts in a delegation chain. Each service account must be granted roles/iam.serviceAccountTokenCreator on the next service account in the chain. Optional. Scopes the impersonated credential should have. Required. Target is the service account to impersonate. Required. func TokenSource(ctx context.Context, ts oauth2.TokenSource, config *Config) (oauth2.TokenSource, error)
Package-Level Functions (total 2, in which 1 are exported)
TokenSource returns an impersonated TokenSource configured with the provided config using ts as the base credential provider for making requests.