Azure Synapse Analytics: Keyvault Access

Akshay Kumar RAkshay Kumar R
1 min read

Pre-requisite:

You already have an Azure Keyvault set up, with the secrets defined.

Access Secrets in Synapse Notebook

  • Provide GET, List permissions for the new Synapse Workspace/ its UAMI under Access Policies in the Key Vault

    Create a new linked service for the keyvault in the Synapse Workspace.

    Use managed identity as the authentication method, make sure to test the connection!

    In the Notebook, use TokenLibrary.getSecret(<keyVault name>, <secret>, <keyVault LinkedService Name') to fetch the secret

0
Subscribe to my newsletter

Read articles from Akshay Kumar R directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Akshay Kumar R
Akshay Kumar R