Viewing Asymmetric Public key
View asymmetric public key using the OCI Console.
Using the Console
Using the CLI
Open a command prompt and run oci kms management key-version get
to view the public key of an asymmetric key.
oci kms management key-version get --key-id <key_OCID> --key-version-id <keyversion_OCID> --endpoint <control_plane_url>
For example:
oci kms management key-version get --key-id ocid1.key.region1.sea.exampleaaacu2.examplesmtpsuqmoy4m5cvblugmizcoeu2nfc6b3zfaux2lmqz245gezevsq --key-version-id ocid1.keyversion.region1.sea.example5aacuu.aumjmafauxaaa.abuwcljt2lolvy722lpaefa53mbl2fyrtcvb3desouxwygdhqxgryexample --endpoint https://exampleaaacu2-management.kms.us-ashburn-1.oraclecloud.com
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.