From the course: Azure for DevOps: Containers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Environmental variables and secrets

Environmental variables and secrets - Azure Tutorial

From the course: Azure for DevOps: Containers

Start my 1-month free trial

Environmental variables and secrets

- Environmental variables, are key valuables that are set for the lifecycle of the containerized application. They can be used in the configuration of the application, such as setting version numbers or package installation paths and departmental variable values can also be written at runtime. You can use these as external configuration to change your application logic. Based on the environment it's running, some variables have added security requirements. They can be passwords, encryption, keys, certificates, or other types of credentials, which be collectively called secrets. Secrets are stored securely in the container hosting environment. This means that the secret implementation is different in kubernetes versus Dockerfile in windows versus Linux. You should use secrets to best sensitive and environmental variables such as database connection, strings to containers that's runtime. The hosting environment takes…

Contents