Skip to content

Commit

Permalink
add note on public keys
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed Nov 1, 2024
1 parent 90148eb commit 6c59ea3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/deploy/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ You must set the following [repository secrets](https://github.com/nimh-dsst/osm
* `AWS_REGION`: The AWS region where the deployments reside
* `MONGODB_URI`: The URI of the MongoDB holding the data. This variable was temperamental. Please try saving it as a secret surrounded by single quotes `'`.
* `SSH_PRIVATE_KEY`: The private SSH key used to ssh into the ec2 instances
* `SSH_PUBLIC_KEY`: The public SSH key used to ssh into the ec2 instances corresponding to the above private key
* `SSH_PUBLIC_KEY`: The public SSH key used to ssh into the ec2 instances
corresponding to the above private key (use `ssh-keygen -y -f
path/to/private/key > path/to/public/key` if you have lost the public key, and
`ssh-keygen -f key.pub -i -m PKCS8` to convert from RSA format)
* `SSH_PROD_HOST`: The static IP address of the production ec2 instance
* `SSH_STAGE_HOST`: The static IP address of the staging ec2 instance
* `LETSENCRYPT_ADMIN_EMAIL`: The email address associated with the Let's Encrypt certificate
Expand Down

0 comments on commit 6c59ea3

Please sign in to comment.