# 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="/pages/IlRJiGlHs1iLyHj6m6oW" %}
[show config authorized-keys](/island-router-cli-2.3.2/commands/show-config-authorized-keys.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.islandrouter.com/island-router-cli-2.3.2/commands/configure-authorized-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
