Share via


KeyVaultClient.UpdateKeyAsync Method (String, String[], KeyAttributes, Dictionary<String, String>, CancellationToken)

 

Asynchronously updates the Key Attributes associated with the specified key.

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

Syntax

public Task<KeyBundle> UpdateKeyAsync(
    string keyIdentifier,
    string[] keyOps = null,
    KeyAttributes attributes = null,
    Dictionary<string, string> tags = null,
    CancellationToken cancellationToken = null
)
public:
Task<KeyBundle^>^ UpdateKeyAsync(
    String^ keyIdentifier,
    array<String^>^ keyOps = null,
    KeyAttributes^ attributes = null,
    Dictionary<String^, String^>^ tags = null,
    CancellationToken cancellationToken = null
)
member UpdateKeyAsync : 
        keyIdentifier:string *
        keyOps:string[] = null *
        attributes:KeyAttributes = null *
        tags:Dictionary<string, string> = null *
        cancellationToken:CancellationToken = null -> Task<KeyBundle>
Public Function UpdateKeyAsync (
    keyIdentifier As String,
    keyOps As String(),
    attributes As KeyAttributes,
    tags As Dictionary(Of String, String),
    cancellationToken As CancellationToken
) As Task(Of KeyBundle)

Parameters

Return Value

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

The updated key.

See Also

UpdateKeyAsync Overload
KeyVaultClient Class
Microsoft.Azure.KeyVault Namespace

Return to top