Difference between revisions of "Google Cloud Service account"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
== Commands == | == Commands == | ||
− | + | * <code>[[gcloud iam]]</code> | |
− | + | * <code>[[gcloud iam service-accounts --help]]</code> | |
[[gcloud iam service-accounts]] | [[gcloud iam service-accounts]] | ||
[[gcloud iam service-accounts list]] | [[gcloud iam service-accounts list]] | ||
Line 18: | Line 18: | ||
[[gcloud iam service-accounts create]] | [[gcloud iam service-accounts create]] | ||
[[gcloud iam service-accounts keys create]] | [[gcloud iam service-accounts keys create]] | ||
− | |||
== Related == | == Related == |
Revision as of 13:54, 5 October 2022
- Service accounts do not have passwords, and cannot log in via browsers or cookies, you can generate access keys with
gcloud iam service-accounts keys create
command.
gcloud auth activate-service-account --key-file=your_key_file_name.json
your_key_file_name.json "type": "service_account"
Commands
gcloud iam service-accounts gcloud iam service-accounts list gcloud iam service-accounts describe gcloud iam service-accounts create gcloud iam service-accounts keys create
Related
- Google Cloud IAM
- Google Cloud user account
gcloud auth list
gsutil config -e
for service account credentials.gcloud auth activate-service-account
- Service accounts are considered as users for
gsutil acl
purposes. - Kubernetes service account
GOOGLE_APPLICATION_CREDENTIALS
gsutil acl ch
See also
Advertising: