You can export secret references from a D365 FO environment to be imported in another D365 FO 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 FO 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.


Standard procedure

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: 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:
- On export, the encryption secret is encrypted as well by the encryption key.
- Inform the receiver of the file about the used encryption secret.

9. Click OK.
10. Sub-task: Download secret references export file.
  10.1 Click Download transactions.
  10.2 In the list, select the desired record.
  10.3 Click Download.
  10.4 Close the page.
11. Close the page.
Related to Notes

Set up secret references

 

Provide feedback