AVX::PASSWORD

This command is used in the event of having to hide any password credentials from being displayed to the user. A key can be used to map the password and the password value can be retrieved with the key.
password = 'ninjaturtle@hello'
bodyjson_auth = {"credentials": {"username": username ,"password": '@$avx_password@$' }}
AVX::PASSWORD('@$avx_password@$',password)
String Description
password

The variable which holds the password. For example: ninjaturtle@hello

@$avx_password@$ This is to mask the declared password.
AVX::PASSWORD(‘@$avx_password@$’,password) Mapping of the masked password

AVX::PASSWORD usage with configuration sample:

<device>A10</device>
<rest>
<url>https://172.16.30.110/axapi/v3/auth</url>
<type>POST</type>
<header>{"Content-Type": "application/json"}</header>
<request_entity>{"credentials": {"password": "@$avx_password@$", "username": "admin"}}</request_entity>
<response_parse_type>json</response_parse_type>
<response_param>sig=authresponse/signature</response_param>
</rest>

Masking of password from users during Review: