Each optional read, listing, delete, SSH CA read, alias lookup and versioned
read in SecretStore decided what a 404 (or a 400, or an empty 204) means
inline, next to the vaultrs call. Move those decisions into small functions
(none_when_absent, empty_when_absent, done_when_absent, ssh_ca_key,
entity_from_lookup, versioned) and the cert-role policy write's request into
set_cert_role_policies_request. Behaviour is unchanged.
Test them with constructed ClientError values: 404 is nothing there, every
other status (400, 403, 429, 500, 503) stays the store's error with the
status in the message, a blank SSH CA key is none, an empty alias answer is
a miss and any other parse failure is not, a versioned read keeps the number
and time and a wrong-shaped object is an error. Also pin the cert-role read
structs and the paths the grant names.
The vaultrs call lines themselves stay unit-uncovered by design; the VM tests
drive them against a real bao.