
Keep Development Configuration Separate from SecretsDevOps · INSIGHTConfiguration describes how an application runs in an environment. Secrets grant access or protect sensitive operations. Treating both as ordinary text in a repository can expose credentials and make projects difficult to move safely.
Inventory the settings
For a fictional task application, a display name or local port is usually ordinary configuration. A database password or API credential is a secret. List each setting, its purpose, whether it is sensitive, and which environment needs it.
Provide safe examples
Commit an example configuration containing clear placeholders and harmless local defaults. Explain how a developer supplies real values through the project’s approved mechanism. Do not publish a working credential to make setup convenient.
Limit access and exposure
Use the smallest required permissions for service credentials. Avoid printing secret values in error messages or build logs. Check generated files and screenshots as well as source files before sharing a project.
If a real credential has been exposed, removing the text from the latest file is not enough to make it safe. Follow the service’s credential-revocation and replacement process, and assess where the value may remain.
Test missing configuration
A program should report that a required setting is absent without echoing its value. Test startup with a missing variable and with a harmless invalid placeholder in a safe environment.
Document the configuration inventory and setup flow in your portfolio. A reviewer should understand how to run the project without receiving access to your private accounts.
Created with AI assistance for JobJet. Illustrative exercises use fictional data; no employer outcomes are promised.