Skip to main content

AMR File Transfer

File transfer is a method that allows you to transfer Credential data to third-party systems using an Azure Storage account. This approach is particularly useful when the receiving system supports file-based data transfers, making it a seamless way to move Credential information as a one-time transfer.

To learn more about AMR and other methods of transferring Credential data to third-party systems, visit the Access Management Router (AMR).


Prerequisites

info
  • Availability: This feature is available only for Enterprise plans.
    Contact your Breeze representative or dealer to explore available Enterprise plan options.
Required roles

Required roles:

  • System Administrator
  • Data Exporter

These roles are necessary to perform the file transfer configuration. If you do not hold these roles, please contact someone in your organization who does.

Before starting the AMR File Transfer setup, make sure you meet the following prerequisites:

  • Access to the Breeze Admin Portal.
  • An Azure Storage account that includes a File Share for storing the transferred data.
  • A clear understanding of which data fields you want to transfer to the third-party system.

Note: If you don't have an Azure Storage account set up, the Breeze Team can assist in providing one as a service. Reach out to Breeze Support for more information.

Azure Storage Account Configuration

To use file transfer, you need to configure your Azure Storage account. The account must have a File Share set up to receive the transferred data.

If you are unfamiliar with configuring Azure Storage, refer to the official Microsoft Azure Storage documentation.

Before moving forward with the AMR transfer steps, ensure you have the following details:

  • Storage account name
  • File Share name
  • Storage account access key or secret
  • File path and name for the file that will store the transferred data.

File Format

The AMR transfer process uses a CSV file format to transfer data. This CSV file is created by the AMR service during the transfer process and should not exist prior to transfer.

Key characteristics of the file:

  • File type: CSV (Comma-Separated Values)
  • Column separator: Semicolon (;)
  • Header row: The first row of the file contains the column headers that identify the data fields.

Important: The format of the file should never be modified, as the AMR service relies on the exact format to process the data correctly. You can remove rows (e.g., individual credentials), but changing the structure of the file could disrupt the transfer process.

warning

Do not alter the file format. Doing so could cause the transfer process to fail.

Available Data Fields

When setting up the AMR File Transfer, you can choose which data fields to include in the CSV file. You can find a complete list of available fields here: Available Data Fields.

warning

Carefully evaluate the fields you select to ensure they meet the needs of the third-party system. Export only the necessary data fields to avoid cluttering the system with irrelevant information.

Images in File Transfer

Option 1: Images as Separate Files

The AMR File Transfer process can include images as individual files within the Azure File Share. This feature needs to be enabled in the AMR configuration (see Include Images). If enabled, images are stored in a folder named images within the Azure File Share.

For each credential, the following images will be created (if available):

  • PersonPhoto1: Saved as PersonPhoto1_<Credential ID>.jpg.
  • PersonPhoto2: Saved as PersonPhoto2_<Credential ID>.jpg.
  • PersonSignature: Saved as PersonSignature_<Credential ID>.jpg.
  • Credential Front Image: Saved as Front_<Credential ID>.jpg (a full-size image of the front of the credential/card).
  • Credential Back Image: Saved as Back_<Credential ID>.jpg (a full-size image of the back of the credential/card).

If an image is not available, the corresponding file will not be created.

Option 2: Images as Base64 Encoded Strings

Alternatively, images can be included directly in the CSV file as Base64 encoded strings. This method is useful when embedding images within the data file itself, rather than storing them separately. In this case, the column header will use the image field name (e.g., personPhoto1), and the image data will be represented as a Base64 encoded string within the CSV.

Transfer Trigger

The AMR File Transfer is designed as a one-time transfer that automatically triggers when a Credential's status changes to produced. This ensures that the data is transferred exactly once at the appropriate moment in the Credential lifecycle.

Create a New AMR File Transfer Configuration

To set up AMR File Transfer, follow these steps:

  1. Access the Tenant: Log into the Breeze portal and navigate to the Tenant where you want to configure file transfer.
  2. Go to Templates: In the left-side menu, select Templates.
  3. Open AMR Transfer Templates: Click the Go to AMR Transfer Templates button.
  4. Create a New Template: Click on the Create New AMR Transfer Template button.
  5. Select the AMR Transfer Type: Choose FILE_TRANSFER as the transfer type.
  6. Complete the Form: Fill in the required fields with the configuration details (see next section for details).
  7. Test Connection: Use the Test Connection button to confirm that the Azure Storage account is correctly set up.
  8. Save: Once everything is configured, click Save to create the AMR File Transfer configuration.

After saving, the configuration will be created but not yet ready for use. Continue with the Configure AMR File Transfer section to finalize the setup.

Settings Details

SettingDescriptionExample Value
NameThe name of the AMR File Transfer configuration.Access Control System Transfer
Client IDThe name of the Azure Storage account.breezestorage
Client SecretThe access key/secret for the Azure Storage account.ueJVIw0XXXXXXXXfcQB3w==
Azure Share NameThe name of the File Share in Azure.breeze-share
File NameThe file name used for transfer.access-control.csv

Configuring AMR File Transfer

Required roles

Roles required:

  • System Administrator
  • Data Exporter
  • You need both of these roles to perform the following configuration steps. If you don't have these roles, please contact your system administrator.

Once the AMR File Transfer configuration has been created, it needs to be customized to fit your specific requirements. To do this, follow these steps:

  1. Locate the AMR File Transfer configuration in the list of configurations.
  2. Click the Edit button next to the configuration to open the settings dialog.
  3. Adjust the settings according to your needs. A description of each setting is provided below.
  4. After making your changes, be sure to click the Save button to apply them.

Key Configuration Settings

Template Name

You can change the name of the AMR File Transfer configuration. This name should reflect the purpose or destination of the transfer to easily identify it later (e.g., "Access Control Transfer to Azure").

Report Incidents To

To receive email notifications in case the transfer process encounters errors or fails, you can add an email address here. This is particularly useful for monitoring and troubleshooting.

General Settings

SettingDescription
ActiveToggle whether the configuration is active. Only active configurations will be available for selection when setting up an AMR on a Credential Template.
Include imagesSpecifies whether images should be included in the transfer. The available options are Yes or No.
Allowed for sub-tenantsDetermines if the AMR configuration is accessible to sub-tenants under the current Tenant.

Include Images

The Include images option determines if images (such as photos and signatures) are included in the transfer process. If this option is enabled, the images will be transferred to the third-party system as files in the Azure storage.

There are two options to choose from:

  • Yes: Images will be included in the transfer.
  • No: No images will be included in the transfer.

Images that may be transferred (if available) include:

  • PersonPhoto1
  • PersonPhoto2
  • PersonSignature
  • Credential front image (a full-size image of the front of the credential/card)
  • Credential back image (a full-size image of the back of the credential/card)

Allowed for Sub-tenants

If this option is enabled, the AMR File Transfer configuration will be made available for all sub-tenants under the current Tenant, provided they share the same System Domain. This is useful when multiple sub-tenants require the same transfer setup, streamlining the process across different parts of your organization.

Storage Settings

If needed, you can modify the Azure Storage account settings for the file transfer. To do so:

  • Click the Edit button to open the settings dialog.
  • Make the necessary changes (such as updating the storage account key or share name).

For more details on the storage settings, refer to the Create a New AMR File Transfer Configuration section.

Field Mappings

warning

Changes to field mappings should be made with caution. Adjusting field mappings may disrupt the transfer process if not handled correctly.

In this section, you can define which data fields will be included in the CSV file used for transfer.

  1. Open the Field Selection Dialog: Click the Change settings button to open the field selection window.

  2. Select Data Fields: Choose the source object and the specific fields you want to include in the CSV file, then move them to the Selected column.

  3. Rearrange Fields: Use the up/down arrows to rearrange the order of the selected fields.

    info

    The order of the fields in the CSV file will match the order in the Selected column. Make sure the order aligns with the expectations of the third-party system.

  4. Save Changes: Click Save to apply the field mappings.

For a complete list of available data fields, refer to Available Data Fields.