Hi, I have several YAML files which serve as config files on runtime not stored via version control since they have included sone confidential info. How can I add runtime files to the fly.io environment?
If that yaml is within (yet unknown) size limits, you can plonk it into fly secrets
: how to set secrets from JSON file? - #2 by ignoramous
Note though, re/setting via fly secrets
(on non-Machine apps) triggers a deployment.
One other way is to set up your own secrets vault, so to speak: Can secrets be dynamically managed after boot
So the first suggestion is to store YAML files as strings as Environmnt variables via fly secrets and on runtime, parsing them and using them?
Yeah, or gzip and base64 encoded.
From How To to Questions / Help
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.