Hi,
Wasn’t able to find anything related to this in the docs, so maybe someone can answer.
Is it possible to make reference to a secret in the configuration file? More specifically, consider the following fragment
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[http_service.checks]]
grace_period = "3s"
interval = "30s"
method = "GET"
timeout = "2s"
path = "/healthz"
[http_service.checks.headers]
Authorization = "$SOME_SECRET_VALUE_HERE"
In other words, is there any way for that $SOME_SECRET_VALUE_HERE
to be populated with the value of a secret at runtime?
Normally I would have the healthcheck coming from a different port that wasn’t exposed by the service, but in this case, it’s not possible. And I’m not liking the idea of forgetting to delete the sensitive value from the fly.toml
file.
Thanks