KeyClient.GetPropertiesOfKeys(CancellationToken) 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.
Lists the properties of all enabled and disabled keys in the specified vault. You can use the returned Name in subsequent calls to GetKey(String, String, CancellationToken).
public virtual Azure.Pageable<Azure.Security.KeyVault.Keys.KeyProperties> GetPropertiesOfKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPropertiesOfKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Keys.KeyProperties>
override this.GetPropertiesOfKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Keys.KeyProperties>
Public Overridable Function GetPropertiesOfKeys (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of KeyProperties)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
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
Azure SDK for .NET