共用方式為


KeyVaultClientExtensions.GetSecretsNextAsync Method

Definition

List secrets in a specified key vault.

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

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.

Applies to