Questions tagged [azure-secrets]

43 questions
1
vote
1 answer

How does one Configure Serilog to WriteTo AzureBlobStorage via the Storage Account Uri or a Named Connection String from appSettings.json?

Serilog configures properly when the following section. which exposes connectionString, is added to appSettings.json: "Serilog": { "WriteTo": [ { "Name": "AzureBlobStorage", "Args": { "connectionString":…
1
vote
1 answer

How to load configuration settings again after service starts

My application is hosted in AKS, the secrets are stored in Azure secrets storage. What my client has is created a volume which stores /mnt/secrets-store that directory contains all of the secrets for my application. For…
Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
1
vote
1 answer

How can I pass a Key Vault secret into a parameter?

I'm currently working with some key vault secrets, and I'm trying to see if it is any way that we can pass some of the secrets into parameters inside of Azure pipelines. Does anyone has any idea of how to do this?
Hvaandres
  • 755
  • 2
  • 12
  • 39
1
vote
2 answers

Use Azure Key Vault Secrets for Unit Tests in Azure Pipelines

I have a solution in .NET 5 with some Unit Tests in NUnit that required some secrets to work correctly. Testing in Visual Studio using local user secrets works fine but now I want to try to integrate using Azure Key Vault and run the Unit Tests…
1
vote
0 answers

MountVolume.SetUp failed for volume "azurefileshare" : Couldn't get secret default

Hi I am trying to mount azure file share to windows container. My node Pool kubernetes version is 119.9. I have added secrete as below in my release pipeline as first step apiVersion: v1 kind: Secret metadata: name: storage-secret type:…
0
votes
0 answers

Where/how do I put User Secrets on Azure?

I have a Blazor server side web app. I've pushed it up to Azure app service. To run it I need to give it access to the secrets I've got in a json file on my computer. Where/how do I push these up to Azure so that the app service can provide them to…
David Thielen
  • 28,723
  • 34
  • 119
  • 193
0
votes
0 answers

How to access variable group value by string name in azure pipelines?

I have a variable group where we are keeping all the secret values. In our azure devops pipeline, we want to give user option to provide name of the variable and we will use that value from the variable group. I know that in pipeline, we use below…
Sukhbir
  • 553
  • 8
  • 23
0
votes
1 answer

Azure Vaults Secrets Getting too many hits

My Azure Keys Vaults Secrets contains my connection string. My app only connects to my Azure Vault during the app Startup.cs and then saves the connection string in a static class for use elsewhere. I noticed a few days ago that Key Vaults Metrics…
0
votes
0 answers

Why is DefaultAzureCredential() not reading Environment variables?

I am setting up a .Net Standard app to get secrets from an Azure secret vault. This is running on my local machine, so any Environment reference is to the local environment on my machine. public string GetSecret() { var…
0
votes
1 answer

Automate unmounting and mounting step because of Service principal expiration in Databricks

I need to automate task which is related to azure databricks.we have configured a job in azure databricks and suddenly my service prinicipal secrets get expired and my notebook failed. on the next day I created new secrets and unmount --> mount it…
0
votes
1 answer

Facing issue with getting secrets from Azure Key Vault in a Springboot Application

i am facing some issue while fetching secrets from azure key vault in a springboot project. I have created a sample springboot project and for that it is working fine but in my actual application it is not working as it is showing null for the…
0
votes
1 answer

How to create secret in Power Shell for Service Principal App and store it in the KeyVault

I want to create a secret in PowerShell for an Azure Service Principal App. I have the following code but returns an error: New-AzADAppCredential: A parameter cannot be found that matches parameter name 'PasswordCredentials' $appId = "
0
votes
1 answer

Logic apps fails to send mail to outlook for Key vault for key vault secret expiry

I'm working on logic apps for first time and having the below challenge, I have created a logic app designer for Key vault secret expiry to send mail to outlook mail. Created a recurrence schedule followed by when an resource event occurs & send an…
0
votes
1 answer

Can we get secret value from azure without using client secret?

I am doing like this : ClientSecretCredential cred = new ClientSecretCredential(TenantId, ClientId, ClientSecret); SecretClient client = new SecretClient(vaultUri: new Uri(KeyValutURL), cred); string ConnectionString =…
0
votes
2 answers

Access Azure container files using Azure Vault Secrets

I have the script to list the container files using the SAS token, But in our organization, they have stored this SAS token in the Azure vault and shared the read access with us. We are not able to view the SAS token from the vault instead we can…
Anand
  • 3
  • 3