Interface OciPrivateKeyDownloader
The contract used for downloading private keys from OCI.
-
Method Summary
Modifier and TypeMethodDescriptionThe implementation will download the private key identified by the given ocid from the given vault crypto endpoint.
-
Method Details
-
loadKey
The implementation will download the private key identified by the given ocid from the given vault crypto endpoint.- Parameters:
keyOcid
- the key ocidvaultCryptoEndpoint
- the vault crypto endpoint identifying where to go to download the key ocid- Returns:
- the downloaded private key
- Throws:
IllegalStateException
- if there is any errors loading the key
-