# configure authorized-keys

## Syntax

```
configure authorized-keys [admin|user]
```

## Syntax Description

<table><thead><tr><th width="203">Keyword</th><th>Description</th></tr></thead><tbody><tr><td><code>admin</code></td><td>Edit authorized keys for the administrative user.</td></tr><tr><td><code>user</code></td><td>Edit authorized keys for the read-only user.</td></tr></tbody></table>

## Defaults

If neither user is specified, the keys for the administrative user are edited.

## Usage Guidelines

This command edits the list of authorized public keys for SSH authentication on inbound connections. The list contains one key per line in the OpenSSH authorized\_keys file format.

Editing is done using the [vim text editor](https://www.vim.org/).

## Examples

```
config authorized-keys admin
```

## Related Commands

{% content-ref url="show-config-authorized-keys" %}
[show-config-authorized-keys](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/show-config-authorized-keys)
{% endcontent-ref %}
