# Multi-profile management

> Create and manage multiple profiles to represent your identity in different contexts.

The multi-profile feature lets you create separate profiles and organise your data for specific purposes. This gives you control over what information you share in each scenario.

You choose which profile stores your credentials or shares data. For example, create one profile for e-commerce sites and another for social platforms. Each profile can share a different set of data.
Note

The [Decentralised Identifier (DID)](/products/affinidi-elements/affinidi-vault/how-affinidi-vault-works.md#decentralised-identifier-did)  linked to your Affinidi Vault account stays the same across all profiles.

## Types of profiles

Affinidi Vault supports two profile types:

### Edge profile

Data is stored only on your local device. It is not uploaded to the cloud for cross-device sync. Choose this option if you want to keep data local.
Note

Edge profiles do not sync automatically across devices. To reflect changes on another device, [back up](/user-guides/affinidi-vault/manage-affinidi-vault/data-backup-affinidi-vault.md) and [restore](/user-guides/affinidi-vault/manage-affinidi-vault/restore-data-affinidi-vault.md) the same Affinidi Vault account.

### Cloud profile

Data is stored in the cloud to enable cross-device sync. You can upload documents and extract data to populate the My data tab.

Data uploaded to the cloud is encrypted with your Affinidi Vault encryption key.
Read more about cloud profiles [here](#cloud-profile-1).
Note

The default profile created when you set up Affinidi Vault is an edge profile. It does not sync data across devices.

## Setting up a profile

Go to the My profiles in Affinidi Vault. This page lists all profiles and shows whether each is edge or cloud.

Click on the Add profile. Enter a name, description, and optionally a picture URL to identify the profile.

GIF 

Each profile contains:

My data: Personal details such as full name, contact information, address, and liveness check data.

Claimed credentials: Verifiable Credentials, including self-attested and third-party issued credentials.

My files: Available only for cloud profiles. Upload documents to store and extract data.

Scan document: Available only for cloud profiles. Scan and extract data from uploaded documents to populate My data.

 Learn more about Claimed credential [here](/products/affinidi-elements/affinidi-vault/claimed-credentials.md).

## Cloud profile

A cloud profile lets you upload documents and extract data to quickly populate personal information and preferences. It syncs data and documents across devices using the same Affinidi Vault and DID setup.

To create a cloud profile:

- Click Add Profile.

- Select Save data to the cloud.

GIF 

To sync data across devices, [back up](/user-guides/affinidi-vault/manage-affinidi-vault/data-backup-affinidi-vault.md) and [restore](/user-guides/affinidi-vault/manage-affinidi-vault/restore-data-affinidi-vault.md) the same Affinidi Vault account. This ensures the same encryption key is available to decrypt profile data.

### Extract data from documents

Upload an English file in one of the supported formats (max size: 10 MB).

See Cloud storage limits and supported formats [below](#cloud-storage-limits-and-supported-formats).

The diagram below outlines the process of uploading a document, scanning it, and extracting data to update the profile in Affinidi Vault (a secure data storage service).

```mermaid
sequenceDiagram
    actor User
    participant AV as Affinidi Vault
    participant VFS as Cloud Storage

    User->>AV: Uploads a document
    AV->>VFS: Uploads file to secure storage 
    User->>AV: Click on extract document data
    AV->>+VFS: Request to extract data from a specific document
    VFS->>VFS: Scan document to extract data
    VFS->>VFS: Analyse document and match fields based on profile template
    VFS-->>-AV: Sends state as completed
    User->>AV: Extract data from the scanned document
    AV->>+VFS: Request for extracted data that matches the profile template fields
    VFS-->>-AV: Return extracted data (label and fields)
    AV->>+User: Present the fields that matches the profile data
    User->>-AV: Accepts the field matching
    AV->>VFS: Update profile data based on accepted fields
```

When you upload a document, you can scan and extract data. Click Scan document to start scanning and analysis. Data is mapped to known fields in the profile template schema.

After scanning, review and edit extracted data before updating your cloud profile.

You can also create folders to organise files.

GIF 

Note on Scanned Documents

Scanned documents are kept for 24 hours. After that, they are deleted. To extract data again, re-upload the file.

### Cloud storage limits and supported formats

Limits for each Affinidi Vault account:

- 
Maximum cloud storage: 500 MB

- 
Supported file types (max size: 10 MB, English only):

- PDF

- JPEG

- PNG

- TIFF

- 
Up to 10,000 files within storage limit

- 
Up to 1,000 folders with 25 nested folders

- 
Up to 10 cloud profiles per account

## What’s next

  [Enable passwordless authentication to your application](/products/affinidi-elements/affinidi-login.md)

  [Request data from your users with their consent](/products/affinidi-elements/iota-framework.md)
