Share via


KeyVaultClientExtensions.GetSecretsAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.SecretItem>> GetSecretsAsync(this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSecretsAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.SecretItem>>
<Extension()>
Public Function GetSecretsAsync (operations As IKeyVaultClient, vaultBaseUrl As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SecretItem))

Parameters

operations
IKeyVaultClient
vaultBaseUrl
System.String
maxresults
System.Nullable<System.Int32>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<SecretItem>>

Applies to