Getting PRECO Credentials
Get PRECO credentials for the HSM cluster in "Activation Required" state.
- Open the Oracle Cloud Console navigation menu and click Identity & Security. Under Key Management & Secret Management, click Dedicated Key Management.
- In the HSM Cluster summary table, find a cluster in "Activation Required" state, click the and then select View Preco Credentials.
- In the Preco Credentials dialog box, click Show to view the PRECO password.
- Click Close.
Open a command prompt and run
get-pre-co-user-credentials
to get PRECO credentialsoci kms kms-hsm-cluster hsm-cluster get-pre-co-user-credentials -hsm-cluster-id
Exampleoci kms kms-hsm-cluster hsm-cluster get-pre-co-user-credentials --hsm- cluster-id ocid1.kmshsmcluster.region1.sea.example1.abzwkljsshsfywmfvqr2vxo3q75ifayb5yxbhj63czq47
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the
GetPreCoUserCredentials
operation that uses the KMSHSMCLUSTER API endpoint.Note
Each region uses the KMSHSMCLUSTER API endpoint for HSM cluster operations. For regional endpoints, see the API Endpoints.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.