## NAME

gdcloud iam service-accounts keys list - List all the public keys for a service account.

## SYNOPSIS

```text
gdcloud iam service-accounts keys list [flags]
```

## DESCRIPTION

List the ID, algorithm and valid time period of all the public keys for a project's service account.

### EXAMPLES

```text

  To list all the public keys for service account "psa-test" in project "iam-test", run:

    gdcloud iam service-accounts keys list --iam-account=psa-test --project=iam-test

```

### REQUIRED FLAGS

```text
      --iam-account string   Project's service account to list the keys for. The flag is required to run the command.
```

### GDCLOUD WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.