KeyVaultClient.GetKeyAsync Method (String, CancellationToken)

 

Asynchronously retrieves the public portion of a key plus its attributes.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

public Task<KeyBundle> GetKeyAsync(
    string keyIdentifier,
    CancellationToken cancellationToken = null
)
public:
Task<KeyBundle^>^ GetKeyAsync(
    String^ keyIdentifier,
    CancellationToken cancellationToken = null
)
member GetKeyAsync : 
        keyIdentifier:string *
        cancellationToken:CancellationToken = null -> Task<KeyBundle>
Public Function GetKeyAsync (
    keyIdentifier As String,
    cancellationToken As CancellationToken
) As Task(Of KeyBundle)

Parameters

Return Value

Type: System.Threading.Tasks.Task<KeyBundle>

A KeyBundle of the key and its attributes.

See Also

GetKeyAsync Overload
KeyVaultClient Class
Microsoft.Azure.KeyVault Namespace

Return to top