> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-universal-portals.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-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=3aebceb1d43146ad6aa146fd134870cc" 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-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=280&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=edf21544415018c7bf0e8de836ea8693 280w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=560&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=2d1a36c968ed73ae079a1c901777b9ba 560w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=840&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=a871a03876e7a4e245d8e5850b9ee0db 840w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=1100&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=815120af5b24f3235ba6efbee724a71b 1100w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=1650&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=52cac3161d2d281df75c774b05f10b13 1650w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1qmfCSl7cOugrHIAdxSyAt/1f05c23a58ba8d3bbc127be294e30c30/Encryption_Keys_-_FR.png?w=2500&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=93884820441507a3cdb68fcd5d11f108 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-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=295facc4851c981780e1e33d5f33ed53" 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-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=280&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=99fe68e00990cb819f8b2d0a846a78cd 280w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=560&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=bea460723257a64c58f6f9a2a7bd0553 560w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=840&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=3eaaf9f93341fd57b1217f67bb1442c3 840w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=1100&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=f8ea7a94b7438becc9662bd7643a9aec 1100w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=1650&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=aa3b854c6fae0806a84705a6a108af40 1650w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1GJPgT1Be7Wm6G6ldCVW4q/96e5a326aa643f29bb50aea76fce27aa/image__2_.png?w=2500&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=38949027b672f0a6046576f2cdc06bbb 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
