SecretManager.AddOrUpdateFunctionSecretAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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