Skip to content

Commit

Permalink
feat: use 1pass for secrets management
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-lgbt committed Jul 7, 2024
1 parent 50d8185 commit 4d08783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "tsc",
"lint": "eslint ./src/",
"start": "op run --env-file='./prod.env' -- node prod/index.js",
"start": "op run --no-masking --env-file='./prod.env' -- node prod/index.js",
"test": "vitest run --coverage"
},
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions prod.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# These values are REQUIRED for the send tool to work.
AWS_KEY="op://Environment Variables - freeCodeCamp/Amazon SES/access_key"
AWS_SECRET="op://Environment Variables - freeCodeCamp/Amazon SES/access_secret"
FROM_ADDRESS="op://Environment Variables - freeCodeCamp/Email Blast/from"

# This line should be changed weekly to set that week's email subject line
MAIL_SUBJECT="op://Environment Variables - freeCodeCamp/Email Blast/subject"

0 comments on commit 4d08783

Please sign in to comment.