Right now, the credentials for the leaf remote config need to be provided via a credentials file. The proposal is to allow leaf remote authorization to be fully done via environment variables. For example in case of the credentials file, there could be two config values that can then be filled with variables or environment variables: nkey_seed and jwt.
Use case
I have an environment where I can run Docker images but I can only configure it via environment variables. Volume mounts are not possible. Hence, I need to fully configure my NATS leaf node via variables.
Proposed change
Right now, the credentials for the leaf remote config need to be provided via a credentials file. The proposal is to allow leaf remote authorization to be fully done via environment variables. For example in case of the credentials file, there could be two config values that can then be filled with variables or environment variables:
nkey_seed
andjwt
.Use case
I have an environment where I can run Docker images but I can only configure it via environment variables. Volume mounts are not possible. Hence, I need to fully configure my NATS leaf node via variables.
Contribution
No response