What are the best ways to prevent writing secrets in the code.

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. python-dotenv

    Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. infisical

    Infisical is the open-source platform for secrets management, PKI, and SSH access.

    Check out Infisical (https://infisical.com).

  4. dotenv-vault

    sync .env files—from the creator of `dotenv`.

    A secrets manager for .env and .env.vault files. Sync your secrets across teams, machines, and environments.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Shello – Wrangle Environment Variables

    4 projects | news.ycombinator.com | 15 Sep 2023
  • Infisical: Open-source platform for secrets management, PKI, and SSH access

    1 project | news.ycombinator.com | 18 Jun 2025
  • You Should Encrypt Your Environment Variables 🔑

    1 project | dev.to | 4 May 2025
  • Show HN: Infisical SSH – Centralized SSH access for teams and infrastructure

    1 project | news.ycombinator.com | 15 Apr 2025
  • Revolutionize Your Secret Management with Infisical: The Open-Source Solution You've Been Waiting For!

    1 project | dev.to | 25 Feb 2025

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?