> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-actions-triggers-prototype.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configurer les clés gérées par le client avec Dashboard

> Découvrez comment activer les clés gérées par le client à l’aide de Dashboard.

Auth0 sécurise les secrets et les données de votre locataire à l’aide d’une clé racine d’environnement Auth0, au sommet de la hiérarchie des clés de chiffrement d’enveloppe. La clé racine de l’environnement Auth0 et la clé racine fournie par le client sont stockées dans le module de sécurité matériel (HSM) du fournisseur de nuage Auth0 correspondant, AWS ou Azure.

## Bring Your Own Key (Apportez votre propre clé)

En utilisant Bring Your Own Key (BYOK, « Utilisez votre propre clé »), les utilisateurs avec le [rôle Éditeur de gestion de clés](/docs/fr-ca/get-started/manage-dashboard-access/add-dashboard-users) peuvent utiliser le <Tooltip href="/docs/fr-ca/glossary?term=auth0-dashboard" tip="Auth0 Dashboard
Principal produit d’Auth0 pour configurer vos services." cta="Voir le glossaire">Auth0 Dashboard</Tooltip> pour remplacer la clé racine par défaut de l’environnement Auth0 par leur propre clé racine fournie par le client.

Les clients peuvent téléverser en toute sécurité leur propre clé racine, qui contient leur propre matériel cryptographique, afin de :

* répondre aux exigences de génération et de provenance de clés personnalisées pour la clé racine de l’environnement;
* répondre aux exigences spécifiques d’installation ou de durée de vie des clés pour la clé racine de l’environnement.

<Warning>
  En important votre propre clé racine fournie par le client avec la fonction Apportez votre propre clé, vous retirez implicitement à Auth0 l’autorisation de gérer le cycle de vie de la clé racine fournie par le client, à l’exception de sa suppression.
</Warning>

Pour commencer, allez dans Dashboard > Settings (Paramètres) > Encryptions keys (Clés de chiffrement).

<Frame>
  <img src="https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=19c1901f35c1b2411bb301975f39857e" alt="Dashboard > Settings > Encryption Keys" data-og-width="1162" width="1162" data-og-height="621" height="621" data-path="docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=280&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=40c2850714423de10d7295326ae6638a 280w, https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=560&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=246819f66f84fd79b0af8dfd6f8a10db 560w, https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=840&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=1d1588f01cbafc02f0a44912bc220523 840w, https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=1100&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=d47baecac97bdc3b7bf879b57a2372eb 1100w, https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=1650&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=129860f3f3b2dd3fe661a995c03a7182 1650w, https://mintcdn.com/docs-staging-actions-triggers-prototype/iE4AgtxPSHgKpjkm/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=2500&fit=max&auto=format&n=iE4AgtxPSHgKpjkm&q=85&s=c80fcbf9dd1273f3b581c141a7f4e746 2500w" />
</Frame>

Sélectionnez **Upload Key (Téléverser la clé)** pour lancer la procédure d’importation de la clé racine fournie par le client. La boîte de dialogue d’importation s’ouvre :

<Frame>
  <img src="https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=e804faf5604d983f06bddedb8d7cbd81" alt="Dashboard > Settings > Encryption Keys > Upload" data-og-width="629" width="629" data-og-height="462" height="462" data-path="docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=280&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=662040cf47308f4993141c116207ffd6 280w, https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=560&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=faa1bad86a8e408c66a3be90155d72c2 560w, https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=840&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=bb83e5a162e09d2f64828c3e1b30fc46 840w, https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=1100&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=710d6814c233b936cd2694a2ed49ca95 1100w, https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=1650&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=ea1a5c10191f7a7ec51b0168e009e0e0 1650w, https://mintcdn.com/docs-staging-actions-triggers-prototype/M5ybCzgwZXFYXV2k/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=2500&fit=max&auto=format&n=M5ybCzgwZXFYXV2k&q=85&s=112a4897b88f9a5f52abe6ddb86d1477 2500w" />
</Frame>

lorsque vous sélectionnez **Upload Key (Téléverser la clé)**, puis **Download (Télécharger)**, la procédure Apportez votre propre clé est lancée :

1. Il crée une clé d’enveloppement publique et la télécharge sur votre système.
2. Utilisez la clé d’enveloppement publique et sécurisez-la avec votre méthode cryptographique à l’aide de votre propre système de gestion des clés pour créer une clé de chiffrement enveloppée (la clé racine fournie par le client).
3. Téléversez votre clé de chiffrement enveloppée et sélectionnez **Save (Enregistrer)**.

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  Une fois téléversée, la clé de chiffrement enveloppée remplace la clé racine de l’environnement Auth0 dans le module de sécurité matériel (AWS ou Azure) en tant que clé racine fournie par le client.
</Callout>

## Exigences en matière de matériel cryptographique

Utilisez votre système de gestion des clés pour envelopper votre propre matériel cryptographique avec la clé publique d’enveloppement et créer la clé de chiffrement enveloppée. Utilisez ces paramètres pour définir les paramètres de l’algorithme [CKM\_RSA\_AES\_KEY\_WRAP](https://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226894) en fonction de votre fournisseur de services infonuagiques Auth0 (AWS ou Azure) :

### Auth0 sur AWS Cloud

* Longueur de la clé publique d’enveloppement : 3 072 bits
* Algorithme : CKG\_MGF1\_SHA256
* Longueur temporaire de la clé AES pour CKM\_AES\_KEY\_WRAP\_PAD : 256 bits
* Type de clé racine fourni par le client : Clé symétrique AES de 256 bits

### Auth0 sur Azure Cloud

* Longueur de la clé publique d’enveloppement : 2048 bits
* Algorithme : CKG\_MGF1\_SHA-1
* Longueur temporaire de la clé AES pour CKM\_AES\_KEY\_WRAP\_PAD : 256 bits
* Type de clé racine fourni par le client : Clé privée RSA de 2 048 bits
* Codage de la clé privée : PKCS #8 – ASN.1 DER
