--- title: "Import secret references" slug: "import-secret-references" description: "Import secret references in D365 F&SCM securely. Follow steps to ensure correct encryption and avoid mixing data across environments." tags: ["Task topic"] updated: 2026-03-20T08:43:56Z published: 2026-03-20T17:44:03Z canonical: "docs.staedean.com/import-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. # Import secret references You can import secret references that are exported from another D365 F&SCM environment. If you import a project, the secret references are not included. If the related secret references are required, you can import 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. On the **Action Pane**, click **General**. 3. Click **Import**. 4. Click **Select configuration** file to browse for and select the desired secret references export file. 5. Select **Yes** in the **Run in background** field. 6. Enter the key to decrypt the secrets of the secret references in the file. This key must be the same as the one that is used to encrypt the secrets. In the **Encryption key** field, type a value. 7. Enter the secret that is used to check if the right encryption key is used during import. This secret must be the same as the one used to encrypt the secrets. 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. 8. Click **OK**. 9. Close the page. > [!NOTE] > **Notes** > > - If the selected secret references file contains a secret reference that already exists, it is not imported. > - You can encrypt the secrets of the secret references. To do so, set the **Encryption key** in the **Connectivity studio parameters**.