Open chenyefeng5 opened 1 month ago
You got Response status: 200 which is okay
You got Response status: 200 which is okay
But this is not aligning with other cli command. And if not enable debug mode, it is empty. For example:
oci kms management key get --key-id ocid1.key.oc1.xxxxxxx --profile oc1 --auth security_token --endpoint https://xxxxxx-management.kms.xxxxx.oraclecloud.com
{
"data": {
"auto-key-rotation-details": null,
"compartment-id": "ocid1.compartment.oc1..xxxxxx",
"current-key-version": "ocid1.keyversion.oc1.xxxxx",
"defined-tags": {},
"display-name": "xxxxx",
"external-key-reference-details": null,
"freeform-tags": {},
"id": "ocid1.key.oc1.xxxxxxxx,
"is-auto-rotation-enabled": false,
"is-primary": true,
"key-shape": {
"algorithm": "RSA",
"curve-id": null,
"length": 256
},
"lifecycle-state": "ENABLED",
"protection-mode": "HSM",
"replica-details": null,
"restored-from-key-id": null,
"time-created": "2023-03-15T00:46:33.493000+00:00",
"time-of-deletion": null,
"vault-id": "ocid1.vault.oc1.xxxxxxxxx"
},
"etag": "xxxxxxxx"
}
no all oci cli the same. is there any issue ?
@chenyefeng5 @adizohar As per the API reference the service should send a KeyReference as a response: https://docs.oracle.com/en-us/iaas/api/#/en/key/release/KeyVersion/CancelKeyVersionDeletion However, it looks like it is not sending it back. Perhaps the KMS service needs to take a look.
Hi there - I can't get the response for key-version cancel-deletion :
Am I missing something?