Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gmuloc opened this issue Apr 19, 2024 · 2 comments · May be fixed by #4768
Open

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

gmuloc opened this issue Apr 19, 2024 · 2 comments · May be fixed by #4768

Comments

@gmuloc
Copy link
Contributor

gmuloc commented Apr 19, 2024

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 #3874

@Vibhu-gslab Vibhu-gslab self-assigned this Apr 22, 2024
@ClausHolbechArista
Copy link
Contributor

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

@gmuloc gmuloc changed the title Feat(plugins): Add local_users to encrypt filter Feat(plugins): Add local_users to a new hash filter Apr 23, 2024
@Vibhu-gslab Vibhu-gslab removed their assignment May 6, 2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants