Dela via


CertificateClient.GetPropertiesOfCertificatesAsync Method

Definition

Lists the properties of all enabled and disabled certificates in the specified vault. You can use the returned Name in subsequent calls to GetCertificate(String, CancellationToken). This operation requires the certificates/list permission.

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.CertificateProperties> GetPropertiesOfCertificatesAsync (bool includePending = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPropertiesOfCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.CertificateProperties>
override this.GetPropertiesOfCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.CertificateProperties>
Public Overridable Function GetPropertiesOfCertificatesAsync (Optional includePending As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CertificateProperties)

Parameters

includePending
Boolean

Specifies whether to include certificates in a pending state as well.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An enumerable collection of certificate metadata.

Applies to