Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 2.32 KB

README.md

File metadata and controls

52 lines (36 loc) · 2.32 KB

supreme-couscous

argon + secrets management

secrets

touch secrets.json

echo "{ \"username\": \"admin\", \"password\": \"password\" }" >> secrets.json

aws secretsmanager create-secret --name test-secret-1 --secret-string file://secrets.json --endpoint-url "http://localstack:4566" > /dev/null

# optionally:
# aws secretsmanager list-secrets --endpoint-url "http://localstack:4566"

questions

  • [done] retrieval
  • [wip] rotation
  • [tbd] caching

commands:

start

./start.sh

exit

  • exit:
    • detaches from argon shell
    • stops argon container
  • [optional] docker compose down:
    • stops and removes the development stack
    • execute only if you want to get rid of the whole stack
    • you can keep the stack alive even when you exit and shut down the argon container and when you're ready to start argon again, running ./start.sh is just going to start argon - the rest of the stack is already running.
    • your workflow could look like this: ./start.sh -> exit -> ./start.sh -> exit -> ./start.sh -> ...

resources