mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Sep 10 11:12:24 UTC 2025
This commit is contained in:
parent
be3f81b90a
commit
78d417f901
91 changed files with 2522 additions and 712 deletions
|
|
@ -43,6 +43,22 @@ EXAMPLES
|
|||
$ gcloud alpha transfer agents install \
|
||||
--creds-file=/example/path.json --pool=AGENT_POOL
|
||||
|
||||
To install an agent using service account impersonation, run:
|
||||
|
||||
$ gcloud alpha transfer agents install \
|
||||
--creds-file=/example/path.json --pool=CUSTOM_AGENT_POOL \
|
||||
--impersonate-service-account=impersonated-account@project-id.ia\
|
||||
m.gserviceaccount.com
|
||||
|
||||
Note : The --impersonate-service-account flag only applies to the API calls
|
||||
made by gcloud during the agent installation and authorization process. The
|
||||
impersonated credentials are not passed to the transfer agent's runtime
|
||||
environment. The agent itself does not support impersonation and will use
|
||||
the credentials provided via the --creds-file flag or the default gcloud
|
||||
authenticated account for all of its operations. To grant the agent
|
||||
permissions, you must provide a service account key with the required
|
||||
direct roles (e.g., Storage Transfer Agent, Storage Object User)
|
||||
|
||||
REQUIRED FLAGS
|
||||
--pool=POOL
|
||||
The agent pool to associate with the newly installed agent. When
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue