Currently only supports a path. If given a `KeyPair` instance, should write it to the secure folder (with `0600` perms) and use that instead.