--- title: "Export secret references" slug: "export-secret-references" description: "Export secret references in D365 F&SCM environments securely, ensuring no data mix-up. Follow our guide for seamless export and import processes." tags: ["Task topic"] updated: 2026-03-20T08:43:34Z published: 2026-03-20T17:44:03Z canonical: "docs.staedean.com/export-secret-references" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Export secret references You can export secret references from a D365 F&SCM environment to be imported in another D365 F&SCM environment. If you export a project, the secret references are not exported. If an export of the secret references is required, you can export the secret references separately. Usually, you only export and import secret references to a D365 F&SCM environment of the same type. For example, you only export secret references from a Development environment to import these in another Development environment. Reason: You don't want to mix up data. For example, you don't want to mix up Test data with Production data. ### Steps 1. Go to **Connectivity studio** > **Setup** > **Secret** > **Secret reference**. 2. You can export several secret references at once. In the list, find and select the desired secret references. 3. On the **Action Pane**, click **General**. 4. Click **Export**. 5. Based on the selected secret references, a default file name is generated. You can change the file name as desired. In the **Download file** field, type a value. 6. You can run the export of secret references in the background. Usually, you do so if you export many secret references. While the secret references are exported, you can continue with other activities in the environment. Select **Yes** in the **Run in background** field. 7. Enter a self-defined key to encrypt the secrets of the secret references in the export file. So, the secrets of the secret references are unreadable in the file. In the **Encryption key** field, type a value. > [!NOTE] > **Note** > > Inform the receiver of the file about the used encryption key. 8. Enter a self-defined secret to check if the right encryption key is used during import. On import, if the entered encryption key and secret do not match both the encryption key and secret in the file, the secret references are not imported. In the **Encryption secret** field, type a value. > [!NOTE] > **Note** > > 1. On export, the encryption secret is encrypted as well by the encryption key. > 2. Inform the receiver of the file about the used encryption secret. 9. Click **OK**. 10. Sub-task: Download secret references export file. 1. Click **Download transactions**. 2. In the list, select the desired record. 3. Click **Download**. 4. Close the page. 11. Close the page.