AAA Authentication Users

Configures, modifies, and retrieves AAA authentication users configuration. The URI to configure data for AAA authentication users is:

/system/aaa/authentication/users

To add AAA authentication user configuration using POST method:

https://<host>/restconf/data/system/aaa/authentication
{
   "openconfig-system:users" : {
      "user" : [
         {
            "username" : "test",
            "config" : {
               "username" : "test",
               "password" : "test",
               "icx-openconfig-aaa-aug:privilege" : 0
            }
         }
      ]
   }
}

To modify AAA authentication user configuration using PATCH method:

https://<host>/restconf/data/system/aaa/authentication/users
{
   "openconfig-system:users" : {
      "user" : [
         {
            "username" : "test",
            "config" : {
               "username" : "test",
               "password" : "check",
               "icx-openconfig-aaa-aug:privilege" : 5
            }
         }
      ]
   }
}      

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/system/aaa/authentication/users
Request body: None
Response body:     
{
   "openconfig-system:users" : {
      "user" : [
         {
            "config" : {
               "password" : "$6$M78fhauw$O0ZK6GGdGNYYQnIIWPMPDYRZpZ5lKkMrl82FE/P1Elw4FQ/KZ46V6bKY8KfNKOEaQsRC/4NyRpJQY0qE5gFJN/",
               "icx-openconfig-aaa-aug:privilege" : 0,
               "username" : "super"
            },
            "state" : {},
            "username" : "super"
         },
         {
            "config" : {
               "password" : "$6$M78fhauw$RVLowACi5AjfbeFatYk/T3L7PASVgBxnzpLIgq8yun/rs8EHTtJUrSaojHJXliEOPFOCoCiBbjpvtaXYOBsXQ1",
               "icx-openconfig-aaa-aug:privilege" : 0,
               "username" : "test"
            },
            "state" : {},
            "username" : "test"
         }
      ]
   }
}

PUT method

URL: https://<host>/restconf/data/system/aaa/authentication/users
Request body:
 {
   "openconfig-system:users" : {
      "user" : [
         {
            "username" : "test",
            "config" : {
               "username" : "test",
               "password" : "test",
               "icx-openconfig-aaa-aug:privilege" : 0
            }
         }
      ]
   }
}

Response body: None    

PATCH method

URL: https://<host>/restconf/data/system/aaa/authentication/users  
Request body:
 {
   "openconfig-system:users" : {
      "user" : [
         {
            "username" : "check",
            "config" : {
               "username" : "check",
               "password" : "test",
               "icx-openconfig-aaa-aug:privilege" : 5
            }
         }
      ]
   }
}

Response body: None    

DELETE

URL: https://<host>/restconf/data/system/aaa/authentication/users/user=check   
Request body: None    
Response body: None