admin ssh-pubkey

Manage public key authentication for the admin.

ssh-pubkey Specification

Type Configuration Resource
Element Name ssh-pubkey
Element URI /axapi/v3/admin/{user}/ssh-pubkey
Element Attributes ssh-pubkey_attributes
Schema ssh-pubkey schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/admin/{user}/ssh-pubkey

ssh-pubkey Attributes

Get Object

GET

/axapi/v3/admin/{user}/ssh-pubkey

ssh-pubkey Attributes

Modify Object

POST

/axapi/v3/admin/{user}/ssh-pubkey

ssh-pubkey Attributes

Replace Object

PUT

/axapi/v3/admin/{user}/ssh-pubkey

ssh-pubkey Attributes

Delete Object

DELETE

/axapi/v3/admin/{user}/ssh-pubkey

ssh-pubkey Attributes

ssh-pubkey Attributes

delete

Description: Delete an authorized public key (SSH key index)

Type: number

Range: 1-1000000

file-url

Description: The url specifies the file transfer protocol, username (if required), and directory path.

Type: string

Format: url

import

Description: Enable importing the public key onto the ACOS device.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

list

Description: List all authorized public keys. The key numbers are displayed along with the keys themselves.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

use-mgmt-port

Description: Use the management port as the source port for importing the key from a remote server.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

uuid

Description: uuid of the object

Type: string