Skip to content

Azure Key Vault: which Datacoves versions each setup applies to - #92

Merged
noel merged 2 commits into
mainfrom
azure-key-vault-version-notes
Dec 4, 2026
Merged

noel merged 2 commits into
mainfrom
azure-key-vault-version-notes

Conversation

@gams87

@gams87 gams87 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Configure Azure Key Vault (how_to_configure_azure_key_vault.md):
    • A note under "Configure your Secrets Backend": the Azure Key Vault option in the Additional Secrets Backend dropdown 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.
    • Managed Identity: a note that it needs the Datacoves platform team to set it up for the environment, as the AWS guide already says for IRSA.
  • Use Azure Key Vault in Airflow (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, and Variable.get and 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

  • On east-us-a2 (6.0, Airflow 3.3.1), in our own environment: the secrets backend with a service principal (set up by us) resolved 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 build passes (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

…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
## 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should be
"are already installed"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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
@gams87

gams87 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

@noel, all three suggestions are applied in 95b213e (wording on the Airflow guide, and your text for the 6.0 note). Ready for another look.

@gams87
gams87 requested a review from noel December 3, 2026 23:11
@noel
noel merged commit 51272dc into main Dec 4, 2026
2 checks passed
@noel
noel deleted the azure-key-vault-version-notes branch December 4, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants