aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
279 stars 201 forks source link

Feat(plugins): Add local_users to a new `hash` filter #3883

Open gmuloc opened 5 months ago

gmuloc commented 5 months ago

NOTE: this is a hash function so decrypt is not needed

Hello AVD Developers,

Do you have any plans to extend filter with user type? This can be useful when setting "local_users" input variables, like:

local_users:
  - name: <str>
    sha512_password: "{{ text_password | arista.avd.encrypt(passwd_type='loca_user', hash_algorithm='sha512', key='') }}"

BR

Originally posted by @PHipnarowicz in https://github.com/aristanetworks/avd/discussions/3874

ClausHolbechArista commented 4 months ago

Maybe we should have an arista.avd.hash filter instead, since this is technically not encryption.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed