cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1125
Views
10
Helpful
1
Replies

Template with encrypted passwords

Hi All,

 

I have created template in DNA, where is configuration of usernames with encrypted passwords.

However when I want to provision, every $ symbol in encrypted passwords DNA understands as variable and asks to fill value. This is one of commands:
username USER secret 9 $5k$.../$1.....$ZTX......

 

How to correctly write that command in template, that password will not change and the same time DNA will not ask for variables?

Thanks

 

1 Accepted Solution

Accepted Solutions

Sylvain_Che
Level 1
Level 1

Hello @Harutyun Hakobyan ,

 

When you edit your template, on the right hand side of the screen, there are 3 buttons. Click on the 'Calculator' button.

Here you will see all variables that DNAC automatically identified. And you can configure one of the identified variable as 'Not a variable' by ticking the checkbox.

 

Another possibility would be to define your password as a variable.

For example in your template you can type:

username USER secret $myPassword

In the 'Calculator' window, you can then define your variable, putting a default value, or requesting to fill in the field every time you provision a deivce, etc.

 

Hope this helps.

 

Regards,

Sylvain.

View solution in original post

1 Reply 1

Sylvain_Che
Level 1
Level 1

Hello @Harutyun Hakobyan ,

 

When you edit your template, on the right hand side of the screen, there are 3 buttons. Click on the 'Calculator' button.

Here you will see all variables that DNAC automatically identified. And you can configure one of the identified variable as 'Not a variable' by ticking the checkbox.

 

Another possibility would be to define your password as a variable.

For example in your template you can type:

username USER secret $myPassword

In the 'Calculator' window, you can then define your variable, putting a default value, or requesting to fill in the field every time you provision a deivce, etc.

 

Hope this helps.

 

Regards,

Sylvain.

Review Cisco Networking for a $25 gift card