View Source Auth0.Management.Keys (Auth0Api v2.2.0)

Summary

Functions

Create the new, pre-activated encryption key, without the key material.

Create the public wrapping key to wrap your own encryption key material.

Delete the custom provided encryption key with the given ID and move back to using native encryption key.

Retrieve details of the encryption key with the given ID.

Retrieve details of all the encryption keys associated with your tenant.

Retrieve details of the application signing key with the given ID.

Import wrapped key material and activate encryption key.

Retrieve details of all the application signing keys associated with your tenant.

Perform rekeying operation on the key hierarchy.

Revoke the application signing key with the given ID.

Rotate the application signing key of your tenant.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}
@type kid() :: String.t()

Functions

Link to this function

create_encryption_key(params, config)

View Source
@spec create_encryption_key(map(), config()) :: {:ok, map()} | error()

Create the new, pre-activated encryption key, without the key material.

see

https://auth0.com/docs/api/management/v2/keys/post-encryption

Link to this function

create_encryption_wrapping_key(kid, config)

View Source
@spec create_encryption_wrapping_key(kid(), config()) :: {:ok, map()} | error()

Create the public wrapping key to wrap your own encryption key material.

see

https://auth0.com/docs/api/management/v2/keys/post-encryption-wrapping-key

Link to this function

delete_encryption_key(kid, config)

View Source
@spec delete_encryption_key(kid(), config()) :: {:ok, String.t()} | error()

Delete the custom provided encryption key with the given ID and move back to using native encryption key.

see

https://auth0.com/docs/api/management/v2/keys/delete-encryption-key

Link to this function

get_encryption_key(kid, config)

View Source
@spec get_encryption_key(kid(), config()) :: {:ok, map()} | error()

Retrieve details of the encryption key with the given ID.

see

https://auth0.com/docs/api/management/v2/keys/get-encryption-key

Link to this function

get_encryption_keys(params, config)

View Source
@spec get_encryption_keys(map(), config()) :: {:ok, [map()] | map()} | error()

Retrieve details of all the encryption keys associated with your tenant.

see

https://auth0.com/docs/api/management/v2/keys/get-encryption-keys

Link to this function

get_signing(kid, config)

View Source
@spec get_signing(kid(), config()) :: {:ok, map()} | error()

Retrieve details of the application signing key with the given ID.

see

https://auth0.com/docs/api/management/v2/keys/get-signing-key

Link to this function

import_encryption_key(kid, params, config)

View Source
@spec import_encryption_key(kid(), map(), config()) :: {:ok, map()} | error()

Import wrapped key material and activate encryption key.

see

https://auth0.com/docs/api/management/v2/keys/post-encryption-key

@spec list_signing(config()) :: {:ok, [map()]} | error()

Retrieve details of all the application signing keys associated with your tenant.

see

https://auth0.com/docs/api/management/v2/keys/get-signing-keys

Link to this function

rekey_encryption_key(config)

View Source
@spec rekey_encryption_key(config()) :: {:ok, String.t()} | error()

Perform rekeying operation on the key hierarchy.

see

https://auth0.com/docs/api/management/v2/keys/post-encryption-rekey

Link to this function

revoke_signing(kid, config)

View Source
@spec revoke_signing(kid(), config()) :: {:ok, map()} | error()

Revoke the application signing key with the given ID.

see

https://auth0.com/docs/api/management/v2/keys/put-signing-keys

@spec rotate_signing(config()) :: {:ok, map()} | error()

Rotate the application signing key of your tenant.

see

https://auth0.com/docs/api/management/v2/keys/post-signing-keys