Google Cloud Service account
Jump to navigation
Jump to search
Service accounts do not have passwords, and cannot log in via browsers or cookies, you can create an account with gcloud iam service-accounts create and generate access keys with gcloud iam service-accounts keys create command.
Create service account:
Create login keys for service account:
- See:
your_key_file_name.json, "type": "service_account"
Login into a service account using generated keys:
Commands[edit]
gcloud iam service-accounts --helpgcloud iam service-accountsgcloud iam service-accounts listgcloud iam service-accounts describegcloud iam service-accounts creategcloud iam service-accounts keys create
Related[edit]
- Google Cloud IAM
- Google Cloud user account
gcloud auth listgsutil config -efor service account credentials.gcloud auth activate-service-account- Service accounts are considered as users for
gsutil aclpurposes. - Kubernetes service account
GOOGLE_APPLICATION_CREDENTIALSgsutil acl chtype: kubernetes.io/service-account-token
See also[edit]
- Service accounts:
gcloud iam service-accounts [ create | get-iam-policy | list | delete | describe | keys ], gcloud auth activate-service-account gcloud config[set | list | get-value | configurations | --help],~/.config/gcloud/, gcloud config set account- Service account: Kubernetes service account, Google Cloud Service account, impersonation, google_service_account, Grafana service account
Advertising: