-
Notifications
You must be signed in to change notification settings - Fork 7
Fix wallet_location JSON Object handling #184
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments
@@ -44,12 +44,15 @@ | |||
import oracle.jdbc.spi.OracleConfigurationSecretProvider; | |||
import oracle.sql.json.OracleJsonObject; | |||
|
|||
import java.nio.charset.StandardCharsets; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import needed?
import java.util.Base64; | ||
import java.util.Map; | ||
|
||
import static oracle.jdbc.provider.hashicorp.hcpvaultdedicated.authentication.DedicatedVaultParameters.FIELD_NAME; | ||
import static oracle.jdbc.provider.hashicorp.hcpvaultdedicated.authentication.DedicatedVaultParameters.PARAMETER_SET_PARSER; | ||
import static oracle.jdbc.provider.hashicorp.util.JsonUtil.extractSecret; | ||
import static oracle.jdbc.provider.util.FileUtils.isBase64Encoded; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import needed?
@@ -40,13 +40,16 @@ | |||
|
|||
import oracle.jdbc.provider.hashicorp.hcpvaultsecret.secrets.HcpVaultSecretsManagerFactory; | |||
import oracle.jdbc.provider.parameter.ParameterSet; | |||
import oracle.jdbc.provider.util.FileUtils; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import needed?
This PR fixes issues with the
wallet_location
JSON object in Azure, HashiCorp (Vault Dedicated and Secrets), and AWS providers. It ensurescwallet.sso
files are not encoded in Base64 twice and adds clear, comprehensive documentation for all providers (AWS, Azure, GCP, HashiCorp, OCI).