# AddPublicKeyResponse

- [JSON representation](https://docs.cloud.google.com/shell/docs/reference/rest/v1/AddPublicKeyResponse#SCHEMA_REPRESENTATION)

Response message for `https://docs.cloud.google.com/shell/docs/reference/rest/v1/users.environments/addPublicKey#google.cloud.shell.v1.CloudShellService.AddPublicKey`.

| JSON representation |
|---|
| ``` { "key": string } ``` |

| Fields ||
|---|---|
| `key` | `string` Key that was added to the environment. |