I started to use cloud9 and use Python code like this:
from getpass4 import getpass
DB_PASSWORD = getpass('Password: ')
This is suboptimal. Is there a way to store credentials in a cloud9 environment without pushing/committing them to git?
CodePudding user response:
We don't store passwords in Cloud9 and you neither have to push then to Git. The recommended way of storing secrets is to use an integration from another service from AWS.
AWS provides multiple services for storing credentials, for example:
- AWS SSM Parameter store: you can use it for storing clean text parameters and for encrypted secrets as well
- AWS Secrets Manager: used for storing secrets in key-value format