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

Use an argument to pass the private key in ash_cmd module #79

Closed
Nuttymoon opened this issue Jul 6, 2023 · 0 comments · Fixed by #91
Closed

Use an argument to pass the private key in ash_cmd module #79

Nuttymoon opened this issue Jul 6, 2023 · 0 comments · Fixed by #91
Assignees
Labels

Comments

@Nuttymoon
Copy link
Contributor

Currently, the private key used to sign transactions with the Ash CLI is passed through the environment keyword as AVALANCHE_PRIVATE_KEY. This is not secured because we cannot hide the content from verbose logging + see Ansible docs:

environment
[...] This is not a recommended way to pass in confidential data.

Adding an avalanche_private_key argument to the module should allow us to mask the private key everywhere.

@Nuttymoon Nuttymoon changed the title Add a private key argument to the ash_cmd module Use an argument to pass the private key in ash_cmd module Jul 6, 2023
@Nuttymoon Nuttymoon changed the title Use an argument to pass the private key in ash_cmd module Use an argument to pass the private key in ash_cmd module Jul 6, 2023
@Nuttymoon Nuttymoon self-assigned this Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant