What is Secret?
A secret is a confidential value used by an application such as database credential, API key, or other configuration. In most cases, secrets allow applications to access systems and control how they behave across the development cycle — for example, an application might use a database password stored in an environment variable likeDB_PASSWORD
to connect to production data. These secrets must be kept secure to protect infrastructure and data.