SecretManager.SetSecretAsync(String, String, String) Method

Definition

Sets a secret in the specified vault.

public System.Threading.Tasks.Task SetSecretAsync (string vaultBaseUrl, string secretName, string value);
abstract member SetSecretAsync : string * string * string -> System.Threading.Tasks.Task
override this.SetSecretAsync : string * string * string -> System.Threading.Tasks.Task
Public Function SetSecretAsync (vaultBaseUrl As String, secretName As String, value As String) As Task

Parameters

vaultBaseUrl
String

The URL for the vault containing the secrets. The format of this should be like: https://{yourkeyvault}.vault.azure.net

secretName
String

The name of the secret in the given vault.

value
String

The value of the secret.

Returns

Implements

Applies to