Skip to content

fix: aruba add no-encrypt to show running-config#79

Merged
gescheit merged 1 commit into
mainfrom
fix/aruba-get-config-no-encrypt
May 19, 2026
Merged

fix: aruba add no-encrypt to show running-config#79
gescheit merged 1 commit into
mainfrom
fix/aruba-get-config-no-encrypt

Conversation

@azryve
Copy link
Copy Markdown
Contributor

@azryve azryve commented May 12, 2026

By default aruba replaces passwords in show run output with a RANDOM string.

  • Its not a real hash (ie can not be reused in the configuration).
  • And its not consistent between show runs (ie every time output changes).

Adding "no-encrypt" helps with a major caveat:

  • Unpriveleged is not permitted to run this command
  • Instead of a meaningful error aruba just returns an empty output

This means that get_config() will not work for users without admin privs.

By default aruba replaces passwords in show run output with a RANDOM string.
 * Its not a real hash (ie can not be reused in the configuration).
 * And its not consistent between show runs (ie every time output changes).

Adding "no-encrypt" helps with a major caveat:
 * Unpriveleged is not permitted to run this command
 * Instead of meaningful error aruba just returns empty output

This means that get_config() will not work for users without admin privs.
@azryve azryve marked this pull request as ready for review May 18, 2026 08:17
@azryve azryve requested a review from gescheit May 18, 2026 10:59
@gescheit gescheit merged commit 9f5a5fd into main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants