> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/miria-4.6/admin-guide/settings/manage-users-and-security.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Manage users and Security

You must create a user to access and, for instance, manage permissions. A user unknown to Miria does not have the permission to access the software.\
Users are created either :

* Manually Declare each user individually and enter all the user parameters and\
  permissions manually.
* AutomaticallyDefine a Reference User as a pattern. Auto-creation of users is only\
  possible with the LDAP access modes. The first time a user logs in, a user is created with the profile and permissions of the Reference User.

## **Add a User**

1. Click the **Security tab**, then the Users tile. The list of users is displayed.
2. Click the + New user button in the top right corner. The user creation wizard is displayed (<mark style="color:blue;">Figure 22</mark>).

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F11A57mSUWg3Jo9QfSbdw%2Fimage.png?alt=media&amp;token=07631d92-87fc-4773-841e-8ada3710a535" alt=""><figcaption></figcaption></figure>
3. Enter the user information:
   1. **User login Name** by which Miria knows the user. The user must use this name to connect. You cannot use the backslash () character.
   2. **Username** (Optional) Name of the person to whom the user login is assigned. For example, the person who logs in as ntillb is Norbert Tillbury.
   3. **User email** (Optional) Email address that can be used to notify the administrator of any action by this user.
4. In the **User group list**, select the user group to which the user belongs. The user can belong to only one user group.
5. Activate the **Password** button to assign the user a password. By default, you can enable empty passwords by letting the button turned off.
6. Define the user options:
   1. **Active user** If this option is enabled, the user has the permission to connect to Miria. If it is disabled, the connection is denied.

      > **Note**: If you disable the Active user option after users have already archived data, they can no longer access Miria, but any data previously archived is not deleted from the system.
   2. **Super user** The user can log as the administrator and have full administration rights over the application. By contrast, standard users have only the right to perform operations on their own repositories.
   3. **User repository Creates** a personal repository for the new user as soon as the form is validated. Only this user or a super user has access to this personal file.
7. (Optional) Enter POSIX user identity. POSIX file system permissions can be applied, so that users only view directories and files they are authorized to consult when browsing a UNIX/macOS Data Mover or a NAS attached to a UNIX/macOS Data Mover. The administrator must at least provide a UID and/or a GID to apply these permissions.
   1. UID The user ID.
   2. GID list The group ID(s) of the user. To enter several GIDs, use "," as separator. If both fields are left empty, the user will have access to all files during browsing.
8. Click **Next**. A summary of the user configuration is displayed.
9. Click **Create** to confirm the user creation.

## Edit a User

1. Click the Security tab, then the Users tile. The list of users is displayed.
2. From the list of users, click the button. The User configuration wizard is displayed (<mark style="color:blue;">Figure 23</mark>).

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FyN7YbMckIIwMbg4LTmpX%2Fimage.png?alt=media&amp;token=dc052bbf-4b8a-414d-8702-489b8dd2b9a6" alt=""><figcaption></figcaption></figure>
3. Update the user configuration and complete the wizard to save modifications.

## Delete a User

Administrators can now delete user accounts directly from the Web Interface, provided those users have no personal archives (user repositories) or, at least, empty personal archives.

> **Note**: Dependencies with user repositories cannot be removed yet.

1. Click the **Security** tab, then the **Users** tile. The list of users is displayed.
2. Click the <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2Fl9ULv9bJUXjQTl6i5HOI%2Fimage.png?alt=media&amp;token=55a8a5eb-facd-460d-a073-0282877f08cc" alt="" data-size="line"> button on the right side of the user name you want to delete.
3. (Empty user repository only) Confirm you want to delete the user repository.
4. Confirm your choice, click **Confirm deletion,** then click **Delete**.

## Add a User Group

User Groups inherit the setting values from the default settings.\
Conversely, if you specify a setting on a user group, the value applies to that user group, but also to all of these objects that are lower in the hierarchy.

**There are three types of user groups:**

* User group, which can only contain users.
* Overall group, which is a group of groups. It can contain user groups and users, but not\
  other overall groups.
* LDAP group, which is a kind of overall group that represents an existing LDAP group on an LDAP server. It enables you to assign permissions to users of this group.

### Add a user group

1. Click the **Security tab**, then the **Groups** tile.
2. Click the **+ New button** at the top right of the screen and select **New user group.** The creation wizard is displayed.
3. Enter the group name.
4. Click **Next**.
5. A summary of the group configuration is displayed.
6. Click **Create** to confirm the group creation.

### **Add an overall group**

1. Click the **Security tab**, then the Groups tile.
2. Click the **+ New button** at the top right of the screen and select **New overall group.** The creation wizard is displayed.
3. Enter the group name.
4. Expand the **Members** list to display the entire list of users and user groups you can add to your overall group.
5. Select a member, then click the **+** button to add the member to the group. Repeat this process for any member that you want to add to the group.
6. Click **Next**. A summary of the group configuration is displayed.
7. Click **Create** to confirm the group creation.

### Add an LDAP group

**Step 1: Defining SSL verification**

1. Click the **Security** tab, then the Groups tile.
2. Click the **+ New button** at the top right of the screen and select **New LDAP group.** The creation wizard is displayed.
3. Enter the group name.
4. (Optional) Enter a comment.
5. (Optional) If you do not wish to establish SSL verification of the hostname, activate the secure mode, then check the **Ignore SSL certificate check option**.

**Step 2: Configuring advanced settings**

1. Define the group configuration:
   1. **Server type** In the drop-down list, choose the type of server between **Active Directory** and **LDAP server.**
   2. **Server address** Enter the IP address or the name of the LDAP server. This server must host the LDAP directory that contains the users you want to import.
   3. (Mandatory for Active Directory) **User** and **Password** Enter a username and password to log in to the Active Directory. You can provide user credentials to authenticate to an LDAP server. If not, an anonymous connection is used.
   4. **Base DN** Select the root directory of the server. This field is mandatory. Each entry stored in LDAP databases requires a unique identification or Distinguished Name (DN). The top hierarchy in an LDAP directory tree is called the Base DN. Example: dc=atemqldap,dc=network
2. Click **Next**.
3. Configure the advanced options:
   1. **User key** Automatically pre-filled, depending on the type of server. It contains the attribute name to be used to retrieve the user's name. This is the attribute to be used by default when auto-creating the LDAP user. Its value is sAMAccountName for Active Directory and uid for LDAP.
   2. **Internal user key** This field is reserved.
   3. **Bind DN** Mask used to authenticate to the LDAP server. It is used to reformat connection credentials during authentication. Its value is different, depending on the type of server: – For Active Directory: \[DomainName]{LoginName}. The prefix \[DomainName] is not mandatory, and will be replaced by the domain name used (if it exists). For example: TEMQLDAP{LoginName}. – For LDAP: uid={LoginName}.
   4. (Optional) **Group base DN** Select a group or organization unit from the level at which groups are to be searched. The group must have a Distinguished Name.
   5. (Optional) **User base DN** Select a group from the level at which users are to be searched. The group must have a Distinguished Name.
   6. **Group** Select the group or domain to use to control user access to Miria. This field is mandatory for LDAP servers.
4. (Optional) If you want to synchronize additional attributes with the Active Directory/LDAP server, enable an attribute and enter a value. You can synchronize the following attributes :
   1. **Username** <kbd>cn</kbd> is the recommended value.
   2. **POSIX UID** <kbd>uidNumber</kbd> is the recommended value.
   3. **POSIX GID** <kbd>gidNumber</kbd> is the recommended value. Attributes, user passwords and emails are synchronized at login.
5. Click **Next**. A summary of the group configuration is displayed.
6. Click **Create** to confirm the group creation.

Configure SAP

A security authentication path (SAP) defines an authentication authority that is in charge of determining whether a user has the permission to access Miria.\
These are the three types of authority authentication:

* Miria internal security system.\
  This is the default authentication authority that corresponds to the Free Login access mode.\
  With this system, user names and passwords are stored in the Miria database.
* LDAP server.\
  If the authentication is delegated to an LDAP server, the passwords are not stored in Miria.
* LDAPS server.

This is the same as LDAP server, but adds encryption between the Miria server and the\
LDAP server.

You can declare several authentication authorities, and sort them in order of priority. Miria checks user access with the first authentication path, then with the second path if the access is denied with the first one, etc.

Only unique usernames are supported. Configurations in which the same user name exists in several domains associated with different passwords are not supported.

### Set Password Policies

1. Click the Security tab, then the Access tile. The list of rules is displayed.
2. Click the button of the local rule. The rule creation wizard is displayed.
3. Enter the rule name.
4. Set a password policy. If enabled, complete these parameters:
   1. Number of figures.
   2. Number of lower cases
   3. Number of upper cases.
   4. Numbers of special characters.
   5. Length of the password.

If the admin change the password policy, the user will be asked to set a new password that comply with the new policy, at the next connection.

You can define only one path of Local type, but several paths of LDAP or LDAPS types. See [<mark style="color:blue;">Add a LDAP Rule</mark>](#add-a-ldap-rule) and [<mark style="color:blue;">Add a LDAPS Rule</mark>](#add-a-ldaps-rule) for their creation procedure

**Reorder Rules**

1. Click the **Security tab**, then the **Access tile.** The list of rules is displayed.
2. If needed, drag and drop the SAPs to define its order of priority. The path that to be checked first must be on top of the list.

> **Note**: If you decide that user authentication must be delegated to an LDAP server, and place LDAP on top of the list, the users connecting to Miria must use their LDAP credentials.

**Test Rules**

1. Click the **Security tab,** then the **Access tile.** The list of rules is displayed.
2. Click the <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FRKOTZBMUgqHeB5RZEGZ5%2Fimage.png?alt=media&amp;token=068f6e1e-1709-441e-a86c-dcd1e8c09c68" alt="" data-size="line"> button next to the list to test the authentication paths.
3. In the window that displays, enter the name and password of the user for whom you want to test the path.
4. Click Continue to validate the testing.

The <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FOoJ1xForYXNtVZcq6Fru%2Fimage.png?alt=media&amp;token=b4b3fac0-83eb-4463-8927-8c127a0ff9f1" alt="" data-size="line"> icon turns green on the successful paths, whereas it turns red on the paths that fail. The icon remains gray for the paths that are not tested.

### Add a LDAP Rule

1. Click the Security tab, then the Access tile. The list of rules is displayed.
2. Click the **+ Add** button at the top right and select Add LDAP rule. The rule creation wizard is displayed.
3. Enter the rule name.
4. Select the LDAP group member corresponding to the LDAP server group that has the permission to access Miria. All users belonging to this group are auto-created at first login using LDAP access mode. The LDAP Group must have been previously created.
5. Check Enable auto-creation of users if you want to create a reference user. a. Click the list and select the user that you want to use as a model. The auto-created user belongs to the same user groups and has the same advanced settings and permissions as the reference user.
6. Click **Next**. A summary of the rule configuration is displayed.
7. Click **Create** to confirm the rule creation.

### Add a LDAPS Rule

1. Click the **Security tab**, then the Access tile. The list of rules is displayed.
2. Click the **+ Add** button at the top right and select **Add LDAPS rule**. The rule creation wizard is displayed.
3. Enter the rule name.
4. Select the LDAPS group member corresponding to the LDAPS server group that has the permission to access Miria. All users belonging to this group are auto-created at first login using LDAPS access mode. The LDAPS Group must have been previously created.
5. Check **Enable auto-creation of users** if you want to create a reference user. a. Click the list and select the user that you want to use as a model. The auto-created user belongs to the same user groups and has the same advanced settings and permissions as the reference user.
6. Click **Next**. A summary of the rule configuration is displayed.
7. Click **Create** to confirm the rule creation

### Edit a Rule

1. Click the **Security tab**, then the **Access tile.** The list of rules is displayed.
2. From the list of rules, click the ![](https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2Fykq6V4vycHAM4O0DfzFd%2Fimage.png?alt=media\&token=0184924b-9c63-410a-a99c-935890f2e61a) button. The current rule configuration is displayed.
3. Update the rule configuration and complete the wizard to save modifications.

## Using a Custom Certificate for the Web Interface HTTPS & SSL

You can replace the built-in self-signed certificate delivered with the solution with your own SSL certificate to secure the connection to the Web Interface.

> **Important**: The SSL certificate included with the Miria server and used for HTTPS\
> connections is set to expire on August 3rd.

To maintain secure communications, we recommend renewing the certificate as soon as possible. You have two options to renew the certificate :

* Download the renewed certificate provided on your Customer Support portal.
* Replace the certificate with a private certificate of your own.

You can refer to the documentation below for instructions on how to replace the SSL certificate. If you need further assistance, contact Customer Support.

**Prerequisites**\
If you are using the renewed SSL certificate provided with the initial product package :

* The Miria server must be configured to use the HTTPS mode.
* You must have downloaded the renewed certificate from your Customer Portal.\
  If you are using your own SSL certificate:
* The Miria server must be configured to use the HTTPS mode.
* Your SSL certificate must be in PEM format. If this is not the case, convert it to a PEM\
  certificate.
* Your certificate must have no passphrase.

**Replacing the existing Miria SSL certificate with renewed certificates**

> **Note** : This procedure implies stopping and restarting your Miria Server, which will terminate all running jobs. If you cannot afford to interrupt the running jobs, itis recommended to wait for them to complete before proceeding with this procedure.

**To replace the certificate on Linux**

1. Copy the **patch\_certificate.sh** script to the Miria server.
2. Give execution permissions to the script.

   <kbd>chmod u+x patch\_certificate.sh</kbd>
3. Run the script.

   <kbd>./patch\_certificate.sh This will:</kbd>

   • Stop the Miria server.

   • Install the updated certificates.

   • Restart the Miria server.

   Output example of the script:

   <kbd>\[root\@Miria-server \~]# ./patch\_certificate.sh</kbd>

   <kbd>Stopping ADA server...</kbd>

   <kbd>Installing certificates</kbd>

   <kbd>Restart ADA server...</kbd>

   <kbd>Certificate successfully installed</kbd>

**To replace the certificate on Windows**

1. In a Miria command prompt, stop the Miria server.

   <kbd>net stop ADA</kbd>
2. Back up the existing files to another location. <kbd>\<INSTALL\_DIR>/apache2.2/conf/ssl/certs/server.crt \<INSTALL\_DIR>/apache2.2/conf/ssl/private/server.key</kbd>

   In the above text, replace \<INSTALL\_DIR> with the installation path of the Miria server.
3. Copy the new certificate files to their specific location:
   1. The **server.crt** file to the \<INSTALL\_DIR>/apache2.2/conf/ssl/certs folder.
   2. The **server.key** file to the \<INSTALL\_DIR>/apache2.2/conf/ssl/private folder. In the above lines, replace \<INSTALL\_DIR> with the installation path of the Miria server.
4. In a Miria command prompt, restart the Miria server.

   <kbd>net start ADA</kbd>

**Installing your own SSL certificate in Apache2**

1. Copy the certificate files (.crt and .key) <mark style="color:$warning;">to /\<ada\_home></mark>
2. Configure Apache2 to use the SSL certificate by opening the ssl.conf configuration file located in <kbd>/\<ada\_home>/apache2/conf/ADA/.</kbd>In the above text replace \<ada\_home> with the actual path to your SSL certificate public key and to your private key (.key).

   ```
   <VirtualHost *:443>
       ServerName localhost:443
       DocumentRoot "htdocs"
       ErrorLog "logs/https.log"
       SSLEngine On
       SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
       SSLCertificateFile /<ada_home>/Custom/monsite.crt
       SSLCertificateKeyFile /<ada_home>/Custom/monsite.key
       intermediate configuration
       SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
       …
   ```
3. Restart Apache2 to apply the changes.

## Using Two-Factor Authentication at Login

In the Web User Interface, you can set the Two-Factor Authentication:

1. Click the top right corner of your screen on the user profile icon. This menu appears (<mark style="color:blue;">Figure 24</mark>):

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F65u5l4fuQvdICiABOfzo%2Fimage.png?alt=media&amp;token=1405fb8c-4195-456a-9250-65d4c8bc4904" alt=""><figcaption></figcaption></figure>
2. Select **Password security.**
3. Click the **Two-Factor Authentication tab**, you now have two possibilities; the Two-Factor Authentication was set as mandatory or as optional. These options are defined in the settings by the administrator.

> **Note**: If you are logged in LDAP mode and if Two-Factor Authentication is forbidden, **Password security** is hidden in the menu.

### Configuring a Two-Factor Authentication Set as Mandatory

In this case, this is how the tab is displayed (<mark style="color:blue;">Figure 25</mark>):

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FcoxK35oDFHN8MWPfQSdu%2Fimage.png?alt=media&amp;token=ff0af2bd-3d93-4177-8711-fed0b4892f82" alt=""><figcaption></figcaption></figure>

You cannot change the toggle, it remains activated.\
But you can execute other actions:

* Generate new recover codes.
* Reset the configuration.

> **Note**: When Two-Factor Authentication is mandatory, if you reset the configuration, you have to configure it again. It can be straight away, or on your next log in.\
> To reset Two-Factor Authentication

**To reset Two-Factor Authentication**

1. Click **Reset Two-Factor Authentication.**
2. Enter the security code that is generated on the authentication application and valid for thirty seconds.
3. Reconfigure the Two-Factor Authentication (<mark style="color:blue;">Figure 26</mark>):

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F1FtScztqR22j6t4titO3%2Fimage.png?alt=media&amp;token=b977dea9-835e-401a-8e79-87bc2f20fc60" alt=""><figcaption></figcaption></figure>
4. Scan the QR code and enter the code returned by the authenticator. The Two-Factor Authentication is set.

### Configuring a Two-Factor Authentication Set as Optional

In this case, the Two-Factor Authentication is not mandatory, you can choose by yourself to enable this option or not. You have more possibilities.

**To activate the Two-Factor Authentication**

1. Click the toggle to define this option as enabled.
2. Scan the QR code on your Authentication App.
3. Enter the code returned by the authenticator. You can always choose to deactivate the Two-Factor Authentication as it is not set as mandatory.

**Checking the status when you are allowed to administrate the users**

In the **Security** tab, you can check the status of the Two-Factor Authentication option for each user (<mark style="color:blue;">Figure 27</mark>). But you can also change the parameters for any user. You can select the user tile and check the status of the activation for each user :

• **Red**: the Two-Factor Authentication is enabled and set.

• **Orange**: the Two-Factor is enabled but not configured by the user yet.

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FMfHBcHdKvfieCHpbKgq5%2Fimage.png?alt=media&amp;token=376f1c4e-2924-422e-b831-7e00b6856301" alt=""><figcaption></figcaption></figure>

If you are a SuperUser, you can disable or reset the Two-Factor Authentication for a user without any code needed. To do so, select one of the rows. This menu appears (<mark style="color:blue;">Figure 28</mark>):

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FKXdr3VEc227O8rv7SDeW%2Fimage.png?alt=media&amp;token=2492bef1-7249-43da-9eea-e658bfc10a93" alt=""><figcaption></figcaption></figure>

> **Note**: You can also configure Two-Factor Authentication on external users, for example AD or LDAP users.

## Data Encryption

Miria data encryption converts data into a code in order to prevent unauthorized access.\
It is used to protect sensitive data from unauthorized users or entities and can be managed on different levels: user, task, repository, etc.

Click the **Security** tab, then the **Data encryption** tile to access it.

> **Important**:
>
> * All storage platforms supported by Miria are eligible.
> * Client archiving mode using the Web Connector is not supported as a source for data encryption.
> * Encryption is not supported for data written on media in LTFS format.
> * The feature is not compatible with data compression or Erasure Coding.

### Configuration

#### **Encryption Policies**

Encryption policies enable you to choose the kind of encryption, the size of the generated symmetrical keys (Data Encryption Key or DEK), and the volume at which a new symmetric key is generated. Important: Policies cannot be modified nor deleted.

**To create an encryption policy**

1. Click the **+ New encryption policy** button under the encryption policies list.
2. Enter a name for your new encryption policy. You can add a comment, if necessary.
3. Select an encryption algorithm.
4. Choose an encryption key length.The list of the available encryption key lengths depends on the algorithm you chose.
5. Set a volume before key rotation and a volume unit. Every time the volume set is reached, a new key will be generated.
6. Click **New**.

#### **Key Management System**

To configure the Key Management System (KMS), a KMS user account is required. This account must at least have an access to the public parts of the RSA keys you want to use as key encryption keys (KEK).

This user account serves the following purposes:

* **Configuration**: Lists key identifiers, allowing you to choose the keys to use.
* **Encryption**: Retrieves the public part of the key for asymmetric encryption of the DEK.
* **Decryption**: Lists KMS accounts, enabling you to select a user account for DEK decryption.

**To create a key management system**

1. In the **Key Management Systems** section, click the **+ New Key Management System** button under the list of key management systems.
2. Enter a name and choose a type of Key Management System (KMS). Miria currently supports the **CipherTrust** KMS. You can add a comment, if necessary.
3. Enter a network authentication address and a port number.
4. (Optional) Check **Ignore SSL check certificate** if you do not wish to establish SSL verification of the hostname.
5. Choose whether you want the access to be through user/password or certificate. You can directly paste a certificate content in the field or select a certificate file by clicking <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FVrYGrOIQaaSS8tvYdlPZ%2Fimage.png?alt=media&amp;token=933023b8-bbc9-4636-9e16-f03bdfed94fd" alt="" data-size="line">the button.

   A client certificate must contain the certificate contents and its private key. Example:

   ```
   ----BEGIN CERTIFICATE----
   [Certificate content]
   ----END CERTIFICATE---- ---
   BEGIN PRIVATE KEY----
   [Private key certificate (myprivatekey.key)]
   ----END PRIVATE KEY----
   ```

   > **Note**: If you are using a client certificate, refer to your KMS documentation.
6. Click **New** to validate.
7. (Optional) An alternative mode for connecting the Data Mover to CipherTrust KMS is available, offering increased security by allowing individual credentials for each Data Mover. To do so, click on <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FDpBvMu57xhPk9oOSlSSE%2Fimage.png?alt=media&amp;token=3ec01ce9-ed3c-4e2e-95fe-11227a95595f" alt="" data-size="line"> the right of a KMS line then click **Add alternate access.**

   > **Note**:
   >
   > • Only one alternate access configuration is permitted per Data Mover. The configuration can be edited or deleted from the same menu.
   >
   > • The alternate access configuration screen does not include an **Ignore SSL check certificate** option, as this setting is inherited from the KMS definition.
   >
   > • Currently, there is no option to test the alternate access configured for a Data Mover.

#### Certificates

A certificate has a function of digital ID: it proves that a user is trusted and provides access to encrypted data.

> **Important**:
>
> * All of the certificates must comply with the X.509 standard.
> * During the decryption, you will have to give a private key corresponding to one of\
>   those certificates and its passphrase.

**To create a certificate**

1. In the **Certificates section,** click the **+ New certificate** button under the list of certificates.
2. Enter a name for your new certificate. You can add a comment, if necessary.
3. Provide a certificate. You can directly paste one certificate content in the field, or select a certificate file by clicking the <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FIB7RqOEnzBowsDkcLSGl%2Fimage.png?alt=media&amp;token=f747b651-b101-4190-a11a-5e9f3c9b91a8" alt="" data-size="original">button.

   You can add more than one at a time, in the **Certificate** field.

   For example:

   ```
   ----BEGIN CERTIFICATE----
   [First certificate content]
   ----END CERTIFICATE----

   ----BEGIN CERTIFICATE----
   [Second certificate content]
   ----END CERTIFICATE----
   ```
4. Click **New** to validate.

### Creating Encryption Rules

After configuring an encryption policy and the Key Management System or certificates, you are ready to create an encryption rule, which will be applied to encrypt data during archiving or backup.

**To create an encryption rule**

1. Click the **Encryption rules** tab.
2. Click on **New encryption rule.** The encryption rule creation window opens (<mark style="color:blue;">Figure 29</mark>).
3. Enter a name for the new rule.
4. (Optional) Add a comment to describe the rule.
5. In the **Encryption policy field**, select a policy from the drop-down list.
6. Depending on your encryption mode, choose one of the following modes:
   1. **Key Management System.** Select a KMS and key pair(s). The key pairs list varies according to the KMS chosen.
   2. **Certificate**. Select a certificate.
7. Click **New** to validate the encryption rule creation.

### Activating Encryption Rules

You have the flexibility to apply encryption rules globally to all archiving tasks or to a specific user, group, task, repository, Data Mover, or NAS.

> **Important**: Enabling data encryption disables the **Limit IO impact on source platform function.**

1. Select the item for which you want to change a setting:
   1. To apply an encryption rule to all archiving tasks, click on Parameters in the left pane, then click **Default settings.**
   2. To apply an encryption rule to a specific item (user, for instance) click the <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FLpyj5IRLj2bSvv5VyhIT%2Fimage.png?alt=media&amp;token=0f7ea680-fde8-4822-acc4-8b1a61f0ecbe" alt="" data-size="line">button to the right of the corresponding entry and select **Settings**.
2. Click **Jobs > Archiving.**
3. In the **Data encryption** rule field, select a rule and save the change.

### Retrieving Encrypted Data

Unlike regular data, retrieving encrypted data requires additional steps.

> **Important**: Encrypted data retrieval is incompatible with client retrieval mode and video partial retrieve.

**To retrieve encrypted data**

1. Launch a retrieval job as you would for any other type of data.
2. Navigate to the Jobs page by clicking on Jobs in the left pane. A warning sign is displayed for each sub-job managing encrypted data retrieval, indicating the need for information for sub-job validation. The sub-job is paused and will only resume after the required information is provided. The warning sign is also displayed at the job level (<mark style="color:blue;">Figure 30</mark>).

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FbxLbtO8Obw1DwbhiRemt%2Fimage.png?alt=media&amp;token=bc6c13f2-ae35-4c0b-aa7e-fee726c50101" alt=""><figcaption></figcaption></figure>
3. Click the <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FLpyj5IRLj2bSvv5VyhIT%2Fimage.png?alt=media&amp;token=0f7ea680-fde8-4822-acc4-8b1a61f0ecbe" alt="" data-size="line"> button to the right of the sub-job and select Validation. The sub-job validation window opens.
4. (If the data was encrypted by a KMS) Select a user authorized to decrypt and enter the password. It is possible to enter a KMS super user name by clicking .

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F0pcnk3rNCbyJrARgCp5q%2Fimage.png?alt=media&amp;token=5dadb875-9b49-442d-93cb-c0d6dcd99208" alt=""><figcaption></figcaption></figure>

(If the data was encrypted by a certificate) Enter the private key corresponding to the certificate and the passphrase.

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FqzZvJU2Xgqdt3VlEraLY%2Fimage.png?alt=media&amp;token=fdae1377-35aa-48b3-acfd-2b3f752d6305" alt=""><figcaption></figcaption></figure>

5. Click **Validation**. The sub-job continues running.
6. Repeat steps 3 to 5 until all sub-jobs are validated. Credentials only need to be provided once for all sub-jobs with the same encryption rule.
7. Once the retrieval job is complete, the data is restored and decrypted. The data encrypted based on different encryption rules will be retrieved by different sub-jobs, then the parallelization rule, if configured, will be applied.

> **For example :** If 200 files were encrypted by rule 1 and another 100 files by rule 2, and a sub-job should be created when the number of files reaches 100 according to the parallelization rule, then there will be 2 sub-jobs for the files encrypted by rule 1 and another sub-job for the files encrypted by rule 2.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/miria-4.6/admin-guide/settings/manage-users-and-security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
