Tutorial: adding-new-config-values


Adding New Config Values

The Badge Server supports a variety of methods for defining configuration settings and secrets, and provides a framework for loading those values during bootstrapping.

Any new configuration setting or secret must be correctly registered so that it will be loaded at startup along with the others.

This generally includes adding the corresponding information for your new setting(s)/secret(s) to the following locations:

The exact values needed will depend on what type of secret/setting you are adding, but for reference a few commits are included below which added secrets and or settings:

Don't hesitate to reach out if you're unsure of the exact values needed for your new secret/setting, or have any other questions. Feel free to post questions on your corresponding Issue/Pull Request, and/or ping us on the contributing channel on our Discord server.