Difference between revisions of "Gcloud iam service-accounts keys list"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  [[gcloud iam service-accounts keys]] list
+
  [[gcloud iam service-accounts keys]] list [[--iam-account]] youracoutn@project.[[iam.gserviceaccount.com]]
 
  KEY_ID                                    CREATED_AT            EXPIRES_AT            DISABLED
 
  KEY_ID                                    CREATED_AT            EXPIRES_AT            DISABLED
 
  1974eb1f2d4a3569ec0e12324342  2022-09-20T09:21:07Z  9999-12-31T23:59:59Z
 
  1974eb1f2d4a3569ec0e12324342  2022-09-20T09:21:07Z  9999-12-31T23:59:59Z

Revision as of 09:06, 22 September 2022

gcloud iam service-accounts keys list --iam-account youracoutn@project.iam.gserviceaccount.com
KEY_ID                                    CREATED_AT            EXPIRES_AT            DISABLED
1974eb1f2d4a3569ec0e12324342  2022-09-20T09:21:07Z  9999-12-31T23:59:59Z
56f835b315d146d76d2435423543  2022-09-20T09:08:48Z  2024-10-18T01:13:09Z



gcloud iam service-accounts keys list
ERROR: (gcloud.iam.service-accounts.keys.list) argument --iam-account: Must be specified.
Usage: gcloud iam service-accounts keys list --iam-account=IAM_ACCOUNT [optional flags]
  optional flags may be  --created-before | --filter | --help | --limit |
                         --managed-by | --page-size | --sort-by 

For detailed information on this command and its flags, run:
 gcloud iam service-accounts keys list --help


See also

Advertising: