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

Viewed 55

I am doing like this :

   ClientSecretCredential cred = new ClientSecretCredential(TenantId, ClientId, ClientSecret);
   SecretClient client = new SecretClient(vaultUri: new Uri(KeyValutURL), cred);
   string ConnectionString = client.GetSecret(ColumnInfoSecretName).Value.Value;

Here I am getting connection string with ClientSecret but I want to get secret without using clientsecret.

1 Answers
Related