Udostępnij za pośrednictwem


SecretManager.AddOrUpdateFunctionSecretAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Script.WebHost.KeyOperationResult> AddOrUpdateFunctionSecretAsync (string secretName, string secret, string keyScope, Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecretsType secretsType);
abstract member AddOrUpdateFunctionSecretAsync : string * string * string * Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecretsType -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Script.WebHost.KeyOperationResult>
override this.AddOrUpdateFunctionSecretAsync : string * string * string * Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecretsType -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Script.WebHost.KeyOperationResult>
Public Function AddOrUpdateFunctionSecretAsync (secretName As String, secret As String, keyScope As String, secretsType As ScriptSecretsType) As Task(Of KeyOperationResult)

Parameters

secretName
String
secret
String
keyScope
String
secretsType
ScriptSecretsType

Returns

Implements

Applies to