Open7

GCP の ADC に関するスクラップ

apstndbapstndb

Impersonate について

いつから?

https://cloud.google.com/iam/docs/release-notes?hl=en#June_29_2018

June 29, 2018
You can now create short-lived service account credentials with the Service Account Credentials API, available in beta.

https://cloud.google.com/iam/docs/release-notes?hl=en#August_20_2019

August 20, 2019
The Service Account Credentials API is now generally available. Use this API to create short-lived service account credentials.

apstndbapstndb

当初は常に gcloud auth login が ADC に使われる well known file を書いていたが、それは行われなくなった。この時期に gcloud auth application-default login に分かれた様子。

https://cloud.google.com/sdk/docs/release-notes?hl=en#google_cloud_sdk_11

119.0.0 (2016-07-27)
gcloud auth login will stop writing application default credentials in a future release. See: https://developers.google.com/identity/protocols/application-default-credentials#toolcloudsdk for more information.

https://cloud.google.com/sdk/docs/release-notes?hl=en#breaking_changes_126

128.0.0 (2016-09-28)
The gcloud auth application-default commands are now in GA. gcloud auth login no longer writes Application Default Credentials, use gcloud auth application-default login instead.

後に gcloud auth login --update-adc として戻ってくる。
https://cloud.google.com/sdk/docs/release-notes?hl=en#27700_2020-01-21

なお、 gcloud auth サブコマンドの前身は gauth

0.9.11 (2013-10-28)
The gauth command has been replaced by 'gcloud auth'. Run 'gcloud auth --help' for more information.