Skip to content

hide_passwords

Note

Always use the FQCN (Fully Qualified Collection Name) arista.avd.hide_passwords when using this plugin.

Replace a value by "\<removed>"

Synopsis

Replace the input data by "\<removed>" if the hide_passwords parameter is true

Parameters

Argument Type Required Default Value Restrictions Description
_input raw True None Value to replace.
hide_passwords bool True None Flag to indicate whether or not the string should be replaced.

Examples

cli_with_hidden_password: "ip ospf authentication-key 7 {{ vlan_interface.ospf_authentication_key | arista.avd.hide_passwords(true) }}"

Return Values

Name Type Description
_value string The original input or '\<removed>'

Authors

  • Arista Ansible Team (@aristanetworks)