use Parser;
use Result;
use locate;
use crate;
/// Print where this host keeps the Tamanu config key.
///
/// The key encrypts every value in `local_system_secrets`: the settings PSK
/// (and so every secret setting), the device key, and a facility's sync
/// password. A database restored onto a host holding a different key reads none
/// of them.
///
/// A bare-metal or Windows install prints its `crypto.keyFile`. A containerised
/// install holds the key as a podman secret with no server-side path, so it
/// prints the secret's name instead (as `podman secret <name>`). Backing either
/// up is the `[tamanu_secret_key]` backup method's job; this is for reading by
/// hand.
pub async