<a id="cli-aws-amplifygen3-backend-publishable-key"></a>

# publishable-key

## Description

Read and revoke the publishable keys of an environment’s backend branch. A publishable key grants the anonymous role and is safe to ship to a client.

Use `publishable-key list` to see the keys, `publishable-key get --id <api-key-id>` to print one, and `publishable-key revoke --id <api-key-id>` to turn one off. There is no create leaf: the service mints a branch key when it provisions the backend branch.

`list` marks the key the environment’s active deployment injects, and `revoke` refuses that key without –allow-deployed-key: revoking it refuses the deployed app’s requests.

## Synopsis

```
publishable-key
```

## Options

*None*

## Available Commands

* [get](get.md)
* [list](list.md)
* [revoke](revoke.md)
