> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# ListPublicKeys

Shared Administration

›

[Protobuf](https://docs.canton.network/reference/admin-api/protobuf/overview.md)

›

[com.digitalasset.canton.crypto.admin.v30](https://docs.canton.network/reference/admin-api/protobuf/packages/com-digitalasset-canton-crypto-admin-v30.md)

›

ListPublicKeys

com.digitalasset.canton.crypto.admin.v30

# ListPublicKeys

gRPC

RPC

`/com.digitalasset.canton.crypto.admin.v30.VaultService/ListPublicKeys`

## Protocol Details

Protocol
gRPC

Service
VaultService

RPC
ListPublicKeys

Client stream
No

Server stream
No

## Inputs

### ListPublicKeysRequest

Message
com.digitalasset.canton.crypto.admin.v30.ListPublicKeysRequest

Client stream
No

`filters`
ListKeysFilters

`base_request`
BaseVaultRequest

## Outputs

### ListPublicKeysResponse

Message
com.digitalasset.canton.crypto.admin.v30.ListPublicKeysResponse

Server stream
No

`public_keys_v30`
repeated PublicKeyWithName

## Related Schemas

> [accordion] com.digitalasset.canton.crypto.admin.v30.ListPublicKeysRequest
>
> `filters`
> ListKeysFilters
>
> `base_request`
> BaseVaultRequest

> [accordion] com.digitalasset.canton.crypto.admin.v30.ListKeysFilters
>
> `fingerprint`
> string
>
> `name`
> string
>
> `purpose`
> repeated KeyPurpose
>
> `usage_v30`
> repeated SigningKeyUsage

> [accordion] com.digitalasset.canton.crypto.admin.v30.BaseVaultRequest
>
> `client_version`
> string

> [accordion] com.digitalasset.canton.crypto.admin.v30.ListPublicKeysResponse
>
> `public_keys_v30`
> repeated PublicKeyWithName

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.crypto.admin.v30.VaultService/ListPublicKeys <<'EOF'
{
  "filters": {
    "fingerprint": "string",
    "name": "string",
    "purpose": [
      "string"
    ],
    "usageV30": [
      "string"
    ]
  },
  "baseRequest": {
    "clientVersion": "string"
  }
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "publicKeysV30": [
    "string"
  ]
}
```
