Environment Credential Provider - Kilemonn/Secrets-Validator GitHub Wiki
The env Environment credential provider is responsible for loading all local system environment variables.
This is mainly used for testing, but in some scenarios, properties are stored in the environment and there is value in validating these values.
The env provider is special in the fact that it is a singleton and including multiple env providers will just force the application to re-validate all of your environment variables.
Example
Defining the environment as a credential provider can be done as follows:
credential-providers:
- Env:
constraints:
...
Please note the trailing ":" IS REQUIRED.