• Uncategorized

About python : store-password-in-cloud9-environment

Question Detail

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?

Question 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:

  • 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

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.