Share via


IStorageBlobManagement.GetUserDelegationKey Method

Definition

Get UserDelegationKey, this key will be used to get UserDelegation SAS token

public Microsoft.Azure.Storage.UserDelegationKey GetUserDelegationKey (DateTimeOffset? keyStart, DateTimeOffset? keyEnd, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
abstract member GetUserDelegationKey : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> Microsoft.Azure.Storage.UserDelegationKey
Public Function GetUserDelegationKey (keyStart As Nullable(Of DateTimeOffset), keyEnd As Nullable(Of DateTimeOffset), Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As UserDelegationKey

Parameters

keyStart
Nullable<DateTimeOffset>

The key valid start time

keyEnd
Nullable<DateTimeOffset>

The key valid end time

accessCondition
AccessCondition

Access condition

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

Returns

The UserDelegationKey

Applies to