nv show system aaa user
|
|
nv show system aaa user Displays list of users, their role and status. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.2002 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user |
|
Related Commands |
nv set system aaa user |
|
Notes |
|
nv show system aaa user id
|
|
nv show system aaa user <user-id> Displays configuration of a user. |
|
|
Syntax Description |
user-id |
The user (e.g., monitor, test) |
|
Default |
N/A |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv show system aaa user ssh authorized-key
|
|
nv show system aaa user <user-id> ssh authorized-key <authorized-key-id> Lists all SSH keys associated with the specified user. |
|
|
Syntax Description
|
user-id |
The user (e.g., monitor, test) |
|
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
|
Default |
N/A |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user>/ssh/authorized-key |
|
|
Related ommands |
|
|
|
Notes |
The key string is obfuscated yet not regarded as a secret within NVOS. |
|
nv show system aaa user ssh authorized-key id
|
|
nv show system aaa user <user-id> ssh authorized-key <ssh-authorized-key-id> Displays details for a specific SSH key. |
|
|
Syntax Description |
user-id |
The user (e.g., monitor, test) |
|
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
|
Default |
N/A |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/authorized-key/<ssh-authorized-key-id> |
|
|
Related Commands |
|
|
|
Notes |
The key string is obfuscated yet not regarded as a secret within NVOS. |
|
nv show system aaa user ssh
|
|
nv show system aaa user <user-id> ssh Display user SSH configuration. |
|
|
Syntax Description |
user-id |
The user (e.g., monitor, test) |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh |
|
|
Related Commands |
|
|
|
Notes |
Key string in obfuscated but is not considered a secret in nvos. |
|
nv show system aaa allow-reset-local-passwords
|
|
nv show system aaa allow-reset-local-passwords Displays state of resetting the local users passwords upon long reboot press |
|
|
Syntax |
N/A |
|
|
Default |
Enabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/allow-reset-local-passwords |
|
|
Related Commands |
nv set system allow-reset-local-passwords state <enabled|disabled> |
|
|
Notes |
|
|
nv show system aaa user spiffe-id
|
|
nv show system aaa user <user-id> spiffe-id Display all SPIFFE IDs of a given user. |
|
|
Syntax |
N/A |
|
|
Default |
Enabled |
|
|
History |
25.02.4002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user>/spiffe-id |
|
|
Related Commands |
nv set system aaa user <user-id> spiffe-id <spiffe-id> |
|
|
Notes |
Same as with certificate, the value for each spiffe-id is empty. |
|
nv set/unset system aaa user ssh authorized-key
|
|
nv set system aaa user <user-id> ssh authorized-key <ssh-authorized-key-id> {key | type}
Authorized SSH key configuration.
|
|
|
Syntax Description |
user-id |
Name of the user (user-name) (enum: local users) |
|
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
|
key |
The base64 contents of the key (key-string) |
|
|
type |
The type of encoded key (string | enum:ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519, ssh-rsa | default:ssh-rsa) |
|
|
Default |
key=N/A
|
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/authorized-key/<ssh-authorized-key-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system aaa user
|
|
nv set system aaa user <user-id>
Specifies a username and creates a user account. New users are created initially with admin privileges.
|
|
|
Syntax Description |
user-id |
The user.
|
|
Default |
The following usernames are available by default:
|
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user full-name
|
|
nv set system aaa user <user-id> full-name <full-name>
Configures user's full-name (Gecos Field).
|
|
|
Syntax Description |
user-id |
The user |
|
full-name |
The full name of the user |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user state
|
|
nv set system aaa user <user-id> state <enable | disable>
Enables/disables the user account.
|
|
|
Syntax Description |
user-id |
The user |
|
Default |
Enabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
Disabling a user account will terminate all user bash terminals. |
|
nv set/unset system aaa user role
|
|
nv set system aaa user <user-id> role <role-id>
Configures user role (capabilities).
|
|
|
Syntax Description |
user-id |
The user |
|
role-id |
The name of the role |
|
|
Default |
admin |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user password
|
|
nv set system aaa user <user-id> password <password>
Configures a login password in cleartext.
|
|
|
Syntax Description |
user-id |
The user |
|
password |
A password for the user in string form. A string containing special Linux characters must be quoted or have the special characters escaped (i.e., add "\" before each special character).
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user hashed-password
|
|
nv set system aaa user <user-id> hashed-password <hashed-password>
Configures a login password in encrypted format.
|
|
|
Syntax Description |
user-id |
The user |
|
hashed-password |
A password for the user in encrypted text.
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related Commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa allow-reset-local-passwords state
|
|
nv set system aaa allow-reset-local-passwords state <enabled | disabled>
Enables/disables the ability to reset local users' passwords upon long reboot press.
|
|
|
Syntax |
state |
enabled, disabled |
|
Default |
Enabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/allow-reset-local-passwords |
|
|
Related Commands |
nv show system aaa allow-reset-local-passwords |
|
|
Notes |
|
|
nv set/unset system aaa user spiffe-id
|
|
nv set system aaa user <user-id> spiffe-id <spiffe-id>
Configure all SPIFFE IDs of a given user.
|
|
|
Syntax Description
|
spiffe-id
|
SPIFFE ID mapped to the user (string) SPIFFE ID must be in format |
|
Default |
N/A |
|
|
History |
25.02.4002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/<user>/ spiffe-id /<ssh- spiffe-id> |
|
|
Related Commands |
nv show system aaa user spiffe-id |
|
|
Notes |
|
|
Last updated: