Skip to content
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

OCI Connection String Provider #124

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Conversation

MouhsinElmajdouby
Copy link
Member

This PR adds support for storing and retrieving tnsnames.ora files in Oracle Cloud Infrastructure (OCI) Vault, allowing Oracle JDBC users to securely configure connection strings based on specified aliases. This enhancement brings secure and flexible connection configuration capabilities to OCI environments, ensuring consistency with features available on other cloud platforms (GCP and Azure).

issue: #120

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 20, 2024

String alias;
try {
alias = parseParameterValues(parameterValues).getRequired(TNS_ALIAS);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you check if the parameter is present sooner, so that it if parameter is missing you can fail faster, before getting the secret from OCI and parsing the file?


This enables flexible and secure configuration for database connections using the alias names defined in your `tnsnames.ora` file.

In addition to the set of common parameters, this provider also supports the parameters listed below:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it support or require the parameters listed below?

…nd clarify required parameters in documentation
@jeandelavarene jeandelavarene merged commit cd3e1a0 into main Nov 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants