mssparkutils.credentials.getSecret not working
Ramachandraiah, Putta
5
Reputation points
when trying to fetch secrets from azure key-vault using mssparkutils in azure synapse getting below exception
Py4JJavaError: An error occurred while calling z:mssparkutils.credentials.getSecret. : com.twitter.finagle.NoBrokersAvailableException: No hosts are available for idr-vault-demo-6bc2d247.vault.azure.net:443, Dtab.base=[], Dtab.local=[]. Remote Info: Not Available
It's working in other environments, but failing in UAT
here is the sample code I am using, in the linked service when I click on test connection it is showing successful (:, but not working with getSecret method.
ADLS_ACCOUNT_NAME = mssparkutils.credentials.getSecret(KEY_VAULT_NAME, 'IDR-ADLS-NAME', KV_LINKED_SERVICE_NAME)
Sign in to answer