How to export or import credentials through command line? |
The following command lines are meant to be executed in the terminal of the appliance. 1- EXPORT: Execute the command below to export the credentials from the source appliance tw_vault_export --output=TestExport.json --guard=file_password
Where "TestExport.json" is the name of the export, and "file_password" the password to protect the file from being used by people who should not access this data.
2- IMPORT: execute the command below to import the credentials into the target appliance tw_vault_import --verbose -C --guard=file_password -O -D TestExport.json
Notes: - The KA 000202304 shows how to update or delete credentials: Discovery: How update or remove credentials with tw_vault_control? - If the UI is available, and that the goal is not to script the import or export, the user may want to follow this documentation instead. |