Git Product home page Git Product logo

Comments (4)

adizohar avatar adizohar commented on September 28, 2024 1

You got Response status: 200 which is okay

from oci-cli.

adizohar avatar adizohar commented on September 28, 2024 1

no all oci cli the same. is there any issue ?

from oci-cli.

chenyefeng5 avatar chenyefeng5 commented on September 28, 2024

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"
}

from oci-cli.

github-anurag avatar github-anurag commented on September 28, 2024

@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.

from oci-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.