Skip to content

Instantly share code, notes, and snippets.

@johndstein
Created May 19, 2020 18:45
Show Gist options
  • Save johndstein/707dc2bbb829fc6c4a849a817f0199dc to your computer and use it in GitHub Desktop.
Save johndstein/707dc2bbb829fc6c4a849a817f0199dc to your computer and use it in GitHub Desktop.
foo
mongo --ssl \
--host $(cat ~/infrastructure/keys/varsdb-creds | cut -d ':' -f2 | cut -d '@' -f2):27017 \
--sslCAFile /opt/helix-tools/rds-combined-ca-bundle.pem \
--username $(cat ~/infrastructure/keys/varsdb-creds | cut -d ':' -f1) \
--password $(cat ~/infrastructure/keys/varsdb-creds | cut -d ':' -f2 | cut -d '@' -f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment