Repository navigation
Azure Key Vault: which Datacoves versions each setup applies to - #92
Merged
Merged
Conversation
…d offer reading the vault from DAG code on 6.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34MZdbJ74vpRWVtwH3
noel
reviewed
Dec 3, 2026
| ## Using Azure Key Vault directly from Airflow | ||
|
|
||
| While not recommended, you can bypass the Datacoves secrets manager integration by configuring an Airflow connection and reading secrets with the Azure Key Vault SDK. The SDK (`azure-identity` and `azure-keyvault-secrets`) is already installed in Datacoves Airflow images as part of the Microsoft Azure provider. | ||
| You can also read secrets without the Datacoves secrets backend integration, by configuring an Airflow connection and reading secrets with the Azure Key Vault SDK. This does not need anything set up by Datacoves, but each DAG fetches its secrets explicitly: `Variable.get` and connection ids are not resolved from Key Vault this way. The SDK (`azure-identity` and `azure-keyvault-secrets`) is already installed in Datacoves Airflow images as part of the Microsoft Azure provider. |
Contributor
There was a problem hiding this comment.
should be
"are already installed"
Contributor
There was a problem hiding this comment.
and no comma
integration by configuring
and this
This does not need anything set up by Datacoves, but each DAG fetches its secrets explicitly
should be
This does not need any Datacoves configuration and each DAG will need to fetch its secrets explicitly
| Azure Key Vault can be configured at the project level, at the environment level, or both. When configured at the project level, all environments under that project will use it by default. Individual environments can have their own configuration that takes precedence, or they can be set to inherit the project-level settings. | ||
|
|
||
| :::note | ||
| The `Azure Key Vault` option in the `Additional Secrets Backend` dropdown requires Datacoves 6.1 or later. On Datacoves 6.0, contact us at support@datacoves.com and we will configure it for you; send us the service principal credentials through a secure channel. If you would rather keep the credentials to yourself, you can instead create the Airflow connection and read secrets from your DAG code with the Azure SDK; see [Using Azure Key Vault directly from Airflow](/docs/how-tos/airflow/use-azure-key-vault#using-azure-key-vault-directly-from-airflow). |
Contributor
There was a problem hiding this comment.
dont even mention 6.0
The Azure Key Vault option in the Additional Secrets Backend dropdown requires Datacoves 6.1. In Datacoves 6.0 you can create the Airflow connection and read secrets from your DAG code with the Azure SDK; see Using Azure Key Vault directly from Airflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pcV34MZdbJ74vpRWVtwH3
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Azure Key Vault guides now say which Datacoves versions each step applies to, and point 6.0 users to reading the vault from DAG code.
how_to_configure_azure_key_vault.md):Azure Key Vaultoption in theAdditional Secrets Backenddropdown requires Datacoves 6.1 (6.0 only offers AWS Secrets Manager there). On 6.0, customers can create the Airflow connection and read secrets from their DAG code with the Azure SDK; the note links to that section.use-azure-key-vault.mdx): the "Using Azure Key Vault directly from Airflow" section no longer says "not recommended". It now says what the trade-off is: no Datacoves configuration needed, but each DAG has to fetch its secrets explicitly, andVariable.getand connection ids are not resolved from Key Vault this way.Same page with version notes rather than a page per version: the docs site is not versioned, and the other guides already do it this way (AWS IRSA note, Datacoves CLI).
Verified
Variable.get("datacoves-...")from Key Vault. Separately, an Airflow connection plus DAG code with the Azure SDK read a secret from a real task. Both configurations were removed afterwards.npm run buildpasses (no broken links). A local Playwright check of the built site finds both notes on the configure page, with the version note right before the project-level steps, and the link opens the Airflow guide's section.🤖 Generated with Claude Code
https://claude.ai/code/session_015pcV34MZdbJ74vpRWVtwH3