Skip to content

Add more guidance about managing secrets #4

@marfire

Description

@marfire

In the environment variables section, I think it would be helpful to include specific advice on managing secrets (SECRET_KEY, say).

Not everyone agrees that putting secrets in environment variables is a good idea, but I think everyone agrees that they shouldn't be checked into your code repository? Given that, you need some way to specify secrets outside of settings.py or zappa_settings.py.

It seems to me that defining them as Lambda environment variables is a pretty good solution, making this comment too strong:

This method [Lambda Environment Variables] is generally only useful for system-generated variables since custom variables can more easily be configured in zappa settings (see above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions