Questions tagged [azure-secrets]
43 questions
13
votes
3 answers
az cli: How to retrieve key vault secret value alone, with no double quotes?
Using az cli command of az keyvault secret show --name $SecretName --vault-name $KeyVaultName --query value) returns the secret with double quotes.
This causes my subsequent REST call to fail.
How do I return the secret value only, no double…

SeaDude
- 3,725
- 6
- 31
- 68
5
votes
2 answers
How to access secrets in databricks initscript
I have tried to access the secret {{secrets/secrectScope/Key}} in advanced tab of databricks cluster and it is working fine. But when I try to use the same in databricks init script, it is not working it.
What are the steps to do that?

ahmed
- 273
- 2
- 8
- 16
4
votes
1 answer
Azure Release pipeline - Azure key vault task VS variable groups
I see that in Azure release pipelines, we can read secrets either by creating a key vault based variable group in library or by using the task "Azure Key vault" in pipeline. Both of them do the same thing i.e. reading the secret value from the key…

user961
- 453
- 6
- 20
3
votes
1 answer
Azure Cloud no matches for kind "SecretProviderClass" in version "secrets-store.csi.k8s.io/v1alpha1"
I am working in azure cloud and wanted to add a simple ServiceProviderClass using the doc from Azure Azure /
secrets-store-csi-driver-provider-azure replacing the secret, keyvaultName and tenantId
apiVersion:…

Sylhare
- 5,907
- 8
- 64
- 80
2
votes
1 answer
How to override local User Secrets and appsettings.json with Azure Container App's Secrets?
I have an appsettings.json in my ASP.NET Core 6 Web API and a secrets.json I use for development connection strings, like below:
{
"ConnectionStrings:MainDatabase": "CONNECTION STRING HERE"
}
After publishing my API as an Azure Container App, how…

Fabio
- 61
- 6
2
votes
1 answer
DefaultAzureCredential fails for AzureAppConfiguration but works for SecretClient when running locally
I am trying to use Managed Identity for both Azure Key Vault and Azure App Config.
The following code works when I deploy to my Azure App Service - but when I run locally the SecretClient code succeeds and the AppConfig code fails.
For my KeyVault…

stuzor
- 2,275
- 1
- 31
- 45
2
votes
1 answer
Visual Studio 22 was unable to set secret '(Azure App Service name)_FFFF' because you may not have collaborator access to the repository '_git/(name)'
In short, taking action
Visual Studio 2022 > Publish > Deployment type > CI/CD using GitHub Actions workflows (generates yml file)
Throws error
Visual Studio 22 was unable to set secret '(Azure App Service name)_FFFF' because you may not have…

wvt
- 31
- 4
2
votes
1 answer
Using Python, Azure KeyVault Secret Client connecting programatically
Need a way to connect to Azure Keyvaluat Secret programatically using
Python. Found existing doc from Azure which is pointing to usage of
DefaultAzureCredential from azure.identity. Which explicitly seeks the
enivironment to set up to have values …

Murugaraju Perumalla
- 439
- 2
- 9
2
votes
1 answer
Invalid client secret is provided when using correct and not expired secret
I have Azure App Registration with active secret.
I'm trying to obtain token using v1.0 like below (clientId is an ID of the above App Registration)
$body = @{
grant_type = 'client_credentials';
client_id = $clientId;
client_secret =…

db_k
- 364
- 1
- 5
- 19
2
votes
1 answer
Mount Azure Storage Container to Databricks Workspace / Notebook results in AttributeError
I'm trying to mount an Azure Blob Storage Container to a Databricks workbook using a Key Vault-backed secret scope.
Setup:
Created a Key Vault
Created a Secret in Key Vault
Created a Databricks Secret Scope
This is known-good.
Running…

ericOnline
- 1,586
- 1
- 19
- 54
1
vote
1 answer
JMeter and Azure Load Testing using AD Authentication - unable to read Key Vault Secrets
I have a JMeter test that uses Azure AD authentication using username/password. The JMeter test works fine when the Username and Password are read from Excel or hard coded.
I need to run this test in Azure Load Test and have created a Key Vault in…

JamesM
- 13
- 3
1
vote
1 answer
Azure Key Vault and Certificate - .NET Framework ClientCertificateCredential access to Secrets
I have generated .pfx, .pvk and .cer certification files.
In Azure:
I created a new Vault, let's call it MyVault
In MyVault, I created a Secret called SubscriptionKey
MyVault has a Certificates section to which I've uploaded MyCertificate.cer…

Yafim Simanovsky
- 531
- 7
- 26
1
vote
1 answer
Azure Key Vault secrets with ServiceBusTrigger Attribute on Web App Jobs
I have Web App Job project which is configured to pluck messages from an Azure Service Bus and process them.
Presently I have a Functions class and a MessageReceived() method which is used as such:
public async Task MessageReceived(…

tonycdp
- 137
- 2
- 9
1
vote
0 answers
How to completely hide credentials and tokens in Azure Pipelines?
Is there a way to have the main Azure pipeline yaml file of a project in the developer's repo, but also completely hide credentials and access tokens from the developers? I mean even the variables names, so they can't reveal it using a step like…

Davis8988
- 298
- 4
- 16
1
vote
1 answer
Internal reusable GitHub workflow - using secrets in repository where workflow is
I am building a GitHub reusable workflow to act as a CI/CD pipeline for other repositories to use in our GitHub organization. Right now, the callee repository would need to pass in service principal credentials that the reusable workflow would use…

Erik Umhoefer
- 11
- 2