Skip to content

Commit

Permalink
feat: add Why Storing Secrets in Environment Variables is a Bad Idea …
Browse files Browse the repository at this point in the history
…blog
  • Loading branch information
dirien committed Oct 9, 2024
1 parent 7ca7c40 commit 3cc43c4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,9 @@ With the Pulumi ESC SDK, we can fetch the secrets at runtime when they are neede

## Conclusion

Storing secrets in environment variables is a bad idea. It may be convenient, but it is definitely not secure. Don't
make it easy for attackers to compromise your system:
Storing secrets in environment variables is a bad idea. It may be convenient, but it is definitely not secure. Don't make it easy for attackers to compromise your system:

- Use a secret management system, like [Pulumi ESC](/product/secrets-management/). It provides a secure and compliant way to store and access secrets,
which you will never get with environment variables.
- Use a secret management system, like [Pulumi ESC](/product/secrets-management/). It provides a secure and compliant way to store and access secrets, which you will never get with environment variables.
- Fetch secrets only at runtime when they are needed.
- Don't expose secrets in logs or process dumps.

Expand Down

0 comments on commit 3cc43c4

Please sign in to comment.