try_get_aes_key: Try to get the AES key of a secret, using a private RSA key.
Description
We just try the private key against all encrypted copies of the
AES key. If none of the succeed, then we return NULL
. Otherwise
we return the AES key, an aes
object, from the openssl
package.
Usage
try_get_aes_key(vault, name, key)