Best solution is a dedicated secret management tool. K8S has secret capabilities built in, or something like Hashicorp Vault.
Alternatively, I've used something as simple as DynamoDB to distribute config information and secrets to services.
Alternatively, I've used something as simple as DynamoDB to distribute config information and secrets to services.
Also I am assuming that something is preventing that tmpfs filesystem from swapping to disk?
The long-term secret can be accessed through the native clients for many PLs, which are basically just wrappers around the HTTP(S) API. The long-term secret is never exposed.
I reallllly like Vault it's been a breeze.