store password in cloud9 environment

142 Views Asked by At

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?

1

There are 1 best solutions below

2
Ervin Szilagyi On BEST ANSWER

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: