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

Add secrets #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

codybennett
Copy link

Enable and implement secrets file, allowing credentials to securely be stored and access preventing plaintext passwords from being present in working script.

Enable index as variable so we only have to change it in one place.

Motivation and Context

Currently credentials, passwords, and endpoints are all plaintext in the script; this is an unnecessary risk and utilizing a secrets file allows one to store credentials separately and more securely.

Also, currently if one wants to change the index they are deduplicating it has to be adjusted in two places. As the script grows in functionality and complexity it is desired to be only need to be changed in one place.

How Has This Been Tested?

Implemented and tested multiple times on local and production environments.

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.

1 participant