Add a helper function for safely grabbing a keyEntry by version (#10080)
Add a helper function for safely grabbing a keyEntry by version (#10080)

* Add a helper function for safely grabbing a keyEntry by version

* Return by value
hartsock/vault,hashicorp/vault,rnaveiras/vault,hashicorp/vault,rnaveiras/vault,hashicorp/vault,rnaveiras/vault,hashicorp/vault,rnaveiras/vault,hashicorp/vault,hartsock/vault,hartsock/vault,hartsock/vault,hartsock/vault,rnaveiras/vault,hashicorp/vault