-
Notifications
You must be signed in to change notification settings - Fork 45
Support OCI Vault integration using Instance Principals #226
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
Comments
Hi @anilmoris - thanks for your suggestion, we will add this to the roadmap. |
As part of this fix, I'm going to add workload identity (OKE) as well 👍 |
Could you ensure the updated Vault auth support also works with the new multi-db config? Assuming similar config, I'd picture something like
(Edit: I saw the new config for Vault is actually in the multi-db config - just not in the example file) Also something to think about - I think wallets are also a pain to manage - could there be an option to fetch the wallet from Vault too? |
Hi @andycoates OCI Vault and AZ Vault are currently supported in multi-database: You can connect each database to a different vault. We've yet to implement additional auth mechanisms like instance principal, or support for GCP/AWS, but these are on our roadmap. |
fyi @anders-swanson the AZ vault impl does work with their equivalent of instance principal already |
I’m trying to configure the Oracle DB Observability Exporter (v1.6.0) to retrieve the database password from OCI Vault using Instance Principals.
I am passing
OCI_VAULT_ID
OCI_VAULT_SECRET_NAME
I am seeing this error
Expected behavior:
The exporter should detect and use the instance principal (no local config file), retrieve the secret from OCI Vault, and connect to the database without requiring a wallet or ~/.oci/config.
Actual current behavior:
It fails with did not find a proper configuration for tenancy even though instance principal is enabled.
a local ~/.oci/config is not needed when using Instance Principals.
The text was updated successfully, but these errors were encountered: