Skip to content

Automatically set path to Wallet directory for cloud wallets #570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AetherPrior opened this issue Jun 15, 2021 · 2 comments
Closed

Automatically set path to Wallet directory for cloud wallets #570

AetherPrior opened this issue Jun 15, 2021 · 2 comments

Comments

@AetherPrior
Copy link

  • While using cx_oracle to connect to a cloud database, it is required that we unzip the wallet to a directory and set the init_oracle_client's config_dir parameter to the unzipped wallet directory.
  • We also have to change the WALLET_LOCATION parameter in the sqlnet.ora file manually from ?/network/admin to reflect the same unzipped directory.
    Since we're anyways specifying the directory to the wallet, will it be possible to let init_oracle_client infer the directory of the wallet? SQLDeveloper can do so since we can directly send it the zip of the wallet without having to change anything.
@cjbj
Copy link
Member

cjbj commented Jun 15, 2021

We know this is desired, however it all controlled by layers beneath cx_Oracle. We have made the owners aware of the requirement.

Technically you don't have to edit sqlnet.ora, as long as you put the file in the default directory.

@cjbj cjbj closed this as completed Jun 15, 2021
@anthony-tuininga
Copy link
Member

You can take a look at this comment as well which gives you a way of using Python to overcome the limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants