Circular Error When Trying to Use Key Vault
I have a problem that will probably seem silly for experienced data engineers.
I am needing to use Azure Key Vault. In order to do so I had to specify my tenant explictly bc DefaultAzureCredential wasn't working otherwise. So I set up a new app registration.
When I run this code and explicity assign my AZURE_CLIENT_SECRET from the app registration, the code works fine. However, I know that I should not be exposing secrets. So, I have tried to use the Key Vault to retrieve my app registration secret rather than just simply writing it in the code.
Thanks for following up. Yes, it appears that using a Managed Identity would be the best approach. However, I'm only using an F2 license. So I decided to instead use a workspace resource as a variable in the notebook. I know that this isn't the most secure approach but it works for what I am trying to accomplish.