Skip to content

Conversation

@liuchaoren
Copy link

No description provided.

1. If certificate is presented, embed the certificate into the JWT.
1. Use the regular [self-signed JWT flow][4] for an access token. _[END]_
1. Use user identity flow to exchange for an access token. _[END]_
1. Use the gcloud default credential to exchange for an access token. _[END]_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link this flow to 4113? Something like:

Use the gcloud default credential to exchange for an access token. [END]

target principal to impersonate. All other service accounts are delegates. For
more information about the ‘--impersonate-service-account’ flag, please read
the help text of [gcloud][0]. For more information about service account
impersonation, please read the **TODO(silvano@ will submit his PR)**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets remove the TODO here and add this sentence with the impersonation PR.

applications **should** call [IAM APIs][5] to request a short-lived access
token of the impersonated service account. The access token of the impersonated
service account **should** be used to authenticate the request to GCP APIs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a change log section here?


gcloud default credentials can be generated via command [gcloud auth
application-default login][2].
gcloud default credentials can be generated via command [gcloud auth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can have two sections here:

Gcloud User Credential

...

Impersonated Service Account

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants