CloudBlob.BeginRotateEncryptionKey CloudBlob.BeginRotateEncryptionKey CloudBlob.BeginRotateEncryptionKey CloudBlob.BeginRotateEncryptionKey Method

Definition

Overloads

BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object)

Begins an asynchronous operation to rotate the encryption key on this blob. This method rotates only the KEK, not the CEK. For more information, visit https://azure.microsoft.com/en-us/documentation/articles/storage-client-side-encryption/

BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to rotate the encryption key on this blob. This method rotates only the KEK, not the CEK. For more information, visit https://azure.microsoft.com/en-us/documentation/articles/storage-client-side-encryption/

BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object) BeginRotateEncryptionKey(AsyncCallback, Object)

Begins an asynchronous operation to rotate the encryption key on this blob. This method rotates only the KEK, not the CEK. For more information, visit https://azure.microsoft.com/en-us/documentation/articles/storage-client-side-encryption/

public:
 virtual Microsoft::WindowsAzure::Storage::ICancellableAsyncResult ^ BeginRotateEncryptionKey(AsyncCallback ^ callback, System::Object ^ state);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginRotateEncryptionKey (AsyncCallback callback, object state);
abstract member BeginRotateEncryptionKey : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginRotateEncryptionKey : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Public Overridable Function BeginRotateEncryptionKey (callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
callback
AsyncCallback AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

Remarks

This method has a number of prerequisites:
1. The blob must be encrypted on the service using client-side encryption (not service-side encryption.)
2. The local object must have the latest attributes from the blob on the service.  This can be done by calling FetchAttributes() on the blob, or by listing blobs in the container with metadata.
3. The Encryption Policy on the default BlobRequestOptions must contain an IKeyResolver capable of resolving the old encryption key.
4. The Encryption Policy on the default BlobRequestOptions must contain an IKey with the new encryption key.

BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginRotateEncryptionKey(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to rotate the encryption key on this blob. This method rotates only the KEK, not the CEK. For more information, visit https://azure.microsoft.com/en-us/documentation/articles/storage-client-side-encryption/

public:
 virtual Microsoft::WindowsAzure::Storage::ICancellableAsyncResult ^ BeginRotateEncryptionKey(Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext, AsyncCallback ^ callback, System::Object ^ state);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginRotateEncryptionKey (Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginRotateEncryptionKey : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginRotateEncryptionKey : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Parameters
accessCondition
AccessCondition AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. For this operation, there must not be an IfMatchETag, IfNoneMatchETag, IfModifiedSinceTime, or IfNotModifiedSinceTime condition.
An IfMatchETag condition will be added internally.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

Remarks

This method has a number of prerequisites:
1. The blob must be encrypted on the service using client-side encryption (not service-side encryption.)
2. The local object must have the latest attributes from the blob on the service.  This can be done by calling FetchAttributes() on the blob, or by listing blobs in the container with metadata.
3. The Encryption Policy on the default BlobRequestOptions must contain an IKeyResolver capable of resolving the old encryption key.
4. The Encryption Policy on the default BlobRequestOptions must contain an IKey with the new encryption key.

Applies to