{ "id":"/axapi/v3/admin/{user}", "type":"object", "node-type":"list", "title":"admin", "partition-visibility":"shared", "description":"System admin user configuration", "properties":{ "user":{ "type":"string", "format":"string", "minLength":1, "maxLength":31, "description":"System admin user name", "optional":false }, "password-key":{ "type":"number", "format":"flag", "platform-specific-default":1, "description":"Config admin user password", "optional":true }, "passwd-string":{ "type":"string", "format":"password", "platform-specific-range":1, "platform-specific-default":1, "description":"Config admin user password", "optional":true }, "action":{ "type":"string", "format":"enum", "default":"enable", "description":"'enable': Enable user; 'disable': Disable user; ", "enum":[ "enable", "disable" ], "optional":true }, "unlock":{ "type":"number", "format":"flag", "default":0, "description":"Unlock admin user", "optional":true }, "trusted-host":{ "type":"number", "format":"flag", "default":0, "description":"Set trusted network administrator can login in", "optional":true }, "trusted-host-addr":{ "type":"string", "format":"ipv4-address", "not":"access-list", "description":"Trusted IP Address for admin to login (IP address, a.b.c.d)", "optional":true }, "trusted-host-netmask":{ "type":"string", "format":"ipv4-netmask", "description":"Netmask, a.b.c.d", "optional":true }, "access-list":{ "type":"number", "format":"flag", "default":0, "not":"trusted-host-addr", "description":"Specify an ACL to classify a trusted host", "optional":true }, "trusted-host-acl-id":{ "type":"number", "format":"number", "minimum":1, "maximum":99, "description":"ACL ID", "optional":true }, "privilege-global":{ "type":"string", "format":"enum", "description":"'read': Set read privilege; 'write': Set write privilege; ", "enum":[ "read", "write" ], "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "description":"Customized tag", "optional":true }, "ssh-pubkey":{ "type":"object", "$ref":"/axapi/v3/admin/{user}/ssh-pubkey", "properties":{ "import":{ "type":"number", "format":"flag", "default":0, "description":"Import an authorized public key" }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "description":"Use management port as source port" }, "file-url":{ "type":"string", "format":"url", "description":"File URL" }, "delete":{ "type":"number", "format":"number", "minimum":1, "maximum":1000000, "description":"Delete an authorized public key (SSH key index)" }, "list":{ "type":"number", "format":"flag", "default":0, "description":"List all authorized public keys" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "access":{ "type":"object", "$ref":"/axapi/v3/admin/{user}/access", "properties":{ "access-type":{ "type":"string", "format":"enum-list", "default":"axapi,cli,web", "enum":[ "axapi", "cli", "web" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "password":{ "type":"object", "$ref":"/axapi/v3/admin/{user}/password", "properties":{ "password-in-module":{ "type":"string", "format":"password", "platform-specific-range":1, "platform-specific-default":1, "description":"Config admin user password" }, "encrypted-in-module":{ "type":"encrypted", "format":"encrypted", "description":"Specify an ENCRYPTED password string (System admin user password)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "user" ], "required":[ "user" ] }