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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  [[gcloud iam service-accounts keys]] list
+
  [[gcloud iam service-accounts keys]] list [[--iam-account]] [[your-service-account]]@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
Line 22: Line 22:
 
== See also ==
 
== See also ==
 
* {{gcloud iam service-accounts}}
 
* {{gcloud iam service-accounts}}
* {{gcloud iam}}
 
  
 
[[Category:GCP]]
 
[[Category:GCP]]

Latest revision as of 14:07, 24 November 2022

gcloud iam service-accounts keys list --iam-account your-service-account@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[edit]

Advertising: