Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
-
None
-
None
Description
Dear colleague,
I would like to understand the encryption mechanism to store node data (login password) stated in netconf-node-topology.yang file.
In below section from netconf-node-topology.yang, I see that if login-pw is selected, login credentials are encrypted.
case login-pw {
description "login-password credentials, encrypted.";
container login-password
{ uses username-password; }}
If a node creation request with below content returns "200 OK" does this guarantee that credentials are encrypted in persistent configuration datastore? Is there a way to verify that they are stored encrypted? If so, which encryption mechanism is used?
request body:
{
"node": {
"node-id": "test",
"host": "192.168.111.111",
"port": 2022,
"tcp-only": false,
"login-pw:login-password" :
{ "username": "admin", "password": "admin" }}
}
Thanks.