GithubHelp home page GithubHelp logo

Comments (3)

arthall avatar arthall commented on August 13, 2024

Try "key_content" instead of "private_key_content". The identity client uses config.get("key_content") to set the private_key_content in the signer. This happens here: https://github.com/oracle/oci-python-sdk/blob/master/src/oci/identity/identity_client.py#L69.

oci.config.validate_config() uses "key_content" as the fall back for "key_file". As long as one of them is defined the config will be accepted as valid, as long as the other requirements are met.

Note: You cannot use "key_content" in you config file, you can only set it programmatically. Storing your private key in the config file is not supported.

from oci-python-sdk.

arthall avatar arthall commented on August 13, 2024

@mm0 Have you had a chance to change "private_key_content" to "key_content" and verify that it works? I'll close this issue after the next release on Thursday, unless you still have concerns.

from oci-python-sdk.

mm0 avatar mm0 commented on August 13, 2024

@arthall Thank you for the clarification, it does appear as though using "key_content" instead of "private_key_content" works successfully. Thank you.

from oci-python-sdk.

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.