Skip to content

Add credentials folder and .gitignore, and move secrets to that folder#54

Open
stea-uw wants to merge 3 commits into
mainfrom
creds
Open

Add credentials folder and .gitignore, and move secrets to that folder#54
stea-uw wants to merge 3 commits into
mainfrom
creds

Conversation

@stea-uw
Copy link
Copy Markdown

@stea-uw stea-uw commented Jun 14, 2024

I moved the secrets in this file to a yaml file in the credentials/ directory.

Tested the config locally by running test_scan.py with both *conf.py files.

@stea-uw stea-uw requested a review from mar235av June 14, 2024 18:58
Comment thread README.md Outdated
@stea-uw
Copy link
Copy Markdown
Author

stea-uw commented Jun 24, 2024

How to deploy this change:

  1. Create a "db.yaml" file with the credentials (you can copy it from idp11) and put it in "credentials/"
  2. Copy over the iamtools-*.pem files into the "credentials/" directory as well
  3. Copy over the "local-bin/" directory from the latest main into the "local-bin/" on the server
  4. Run "test_scan.py" to test that it worked. E.g:
    . py-env/bin/activate
    export PATH=$PATH:/usr/local/pgversion/bin
    python test_scan.py
    

I already did 1) and 2) for the prod machines, but didn't have access to the test machines for some reason.

See also credentials/README.md

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