How to access a secret in Azure key vault from different subscription using azure databricks

Susmitha Vankayalapati 0 Reputation points
2023-08-16T01:17:22.5666667+00:00

Hi,

I have a Secret stored in Key Vault in a subscription. I want to access that secret from another subscription using Azure databricks .How can I able to access that secret?

Due to security issues, I cannot be able to move/copy the secret from one subscription to another, I need to access it directly from another subscription.

Thanks

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,453 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,534 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2023-08-18T04:51:44.16+00:00

    @Susmitha Vankayalapati - Thanks for the question and using MS Q&A platform.

    It does not matter which subscription Azure Key Vault sits in as long as you/the used identity have the permissions to read the secrets. You can either link it to a secret scope in Databricks (Setup: Secret scopes - Azure Databricks | Retrieve: Secret workflow example - Azure Databricks ) or directly retrieve the secret via the SDK, e.g. Python (Quickstart – Azure Key Vault Python client library – manage secrets ) .

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.