How can I use gsutil with multiple accounts?
问题 I frequently use Google Cloud Storage with at least two accounts: personal@gmail.com and work@corp.com. I used gsutil config to create .boto files for both accounts, which I've renamed to personal.boto and work.boto . It is tiring to have to remember to type cp personal.boto ~/.boto whenever I need to switch between these accounts. Is there a better way? 回答1: The Google Cloud SDK now includes the gcloud tool, which allows you to login and easily switch between accounts. $ gcloud auth list