Interface IEncryptionClient
- Namespace
- Auth0.ManagementApi.Keys
- Assembly
- Auth0.ManagementApi.dll
public interface IEncryptionClient
- Extension Methods
Methods
CreateAsync(CreateEncryptionKeyRequestContent, RequestOptions?, CancellationToken)
Create the new, pre-activated encryption key, without the key material.
WithRawResponseTask<CreateEncryptionKeyResponseContent> CreateAsync(CreateEncryptionKeyRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestCreateEncryptionKeyRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
CreatePublicWrappingKeyAsync(string, RequestOptions?, CancellationToken)
Create the public wrapping key to wrap your own encryption key material.
WithRawResponseTask<CreateEncryptionKeyPublicWrappingResponseContent> CreatePublicWrappingKeyAsync(string kid, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
kidstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, RequestOptions?, CancellationToken)
Delete the custom provided encryption key with the given ID and move back to using native encryption key.
Task DeleteAsync(string kid, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
kidstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, RequestOptions?, CancellationToken)
Retrieve details of the encryption key with the given ID.
WithRawResponseTask<GetEncryptionKeyResponseContent> GetAsync(string kid, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
kidstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ImportAsync(string, ImportEncryptionKeyRequestContent, RequestOptions?, CancellationToken)
Import wrapped key material and activate encryption key.
WithRawResponseTask<ImportEncryptionKeyResponseContent> ImportAsync(string kid, ImportEncryptionKeyRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
kidstringrequestImportEncryptionKeyRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(ListEncryptionKeysRequestParameters, RequestOptions?, CancellationToken)
Retrieve details of all the encryption keys associated with your tenant.
Task<Pager<EncryptionKey>> ListAsync(ListEncryptionKeysRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestListEncryptionKeysRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
RekeyAsync(RequestOptions?, CancellationToken)
Perform rekeying operation on the key hierarchy.
Task RekeyAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken