다음을 통해 공유


KeyClient.GetPropertiesOfKeysAsync(CancellationToken) Method

Definition

Lists the properties of all enabled and disabled keys in the specified vault. You can use the returned Name in subsequent calls to GetKeyAsync(String, String, CancellationToken).

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Keys.KeyProperties> GetPropertiesOfKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPropertiesOfKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Keys.KeyProperties>
override this.GetPropertiesOfKeysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Keys.KeyProperties>
Public Overridable Function GetPropertiesOfKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of KeyProperties)

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Remarks

Retrieves a list of the keys in the Key Vault that contains the public part of a stored key. The list operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.

Managed keys may also be listed. They are the public key for certificates stored in Key Vault.

Applies to