Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 576 Bytes

secrets.md

File metadata and controls

17 lines (15 loc) · 576 Bytes

Secrets

InfraBox can store secret values for you, so you don't have to store passwords or other secret values in your repository. Login to the InfraBox Dashboard, select your project and go to the Settings tab. There you can create a secret with a name and value.

Using secrets as environment variable

If you have created a secret you can make it available as a environment variable.

{
    "version": 1,
    "jobs": [{
        ...
        "environment": {
            "SOME_SECRET_VALUE": { "$secret": "NAME_OF_THE_SECRET" },
        }
    }]
}