To import a json file to Smart ID Desktop App, use the following command: Code Block |
---|
MetadataTool.exe -i [import_json_path] |
or Code Block |
---|
MetadataTool.exe --import [import_json_path] |
To also clean the Smart ID Desktop App settings, when importing the json file, use the following command: Code Block |
---|
MetadataTool.exe -i [import_json_path] -c |
or Code Block | MetadataTool.exe --import [import_json_path] --cleanThe json file can have the same format as the json that was dumped when gathering information, as described above:
Code Block |
---|
title | Example: Full json file |
---|
collapse | true |
---|
| {
"Appdata": {
"currentVersion": "0.10.41.0",
"FirstUseTime": 132284845977922598,
"FirstVersionInstalled": "0.10.41.0",
"IsFirstRun": true
},
"Settings": {
"AlwaysFlushLogFile": "true",
"ImportP12Target": "TPM",
"KeyProtLevel": "NoConsent",
"LogLevel": "Trace",
"MinimizeAfter": "false",
"SignAndAuthenticateWithOwnCertificatesOnly": "false",
"Theme": "Light",
"WipeYubi": "false"
},
"Profiles": {
"Profile-526f4c96-dc64-41a9-a87a-dae10cfadff0": {
"Activated": "3/10/2020 4:33:58 PM",
"BoxUri": "https://hermod-dev.go.nexusgroup.com/ms/9df91ea5-e243-45c5-af63-9fa150115b68",
"CardIdentifier": "ffcdd17d-8227-40fb-b1e0-8d0c0d380d1b",
"DeleteDisabled": "true",
"DeleteProfileAfterImport": "false",
"DisplayName": "TestProfile",
"EncryptionKeyDelete": "",
"Id": "526f4c96-dc64-41a9-a87a-dae10cfadff0",
"Issuer": "hermod-dev.go",
"KeyList": "signer|pex-17dd3bd7-75ed-4a71-84a2-bcc85-07718|74f7ce30e86197ebf2131d2876e0c934255fd0db",
"PinResetButtonDisabled": "false",
"ReaderName": "Microsoft Virtual Smart Card 10",
"SmartCardId": "526f4c96-dc64-41a9-a87a-dae10cfadff0",
"Status": "Online",
"Token": "e1bdd8b9-d405-4687-8710-61aa70febfe1",
"Type": "VSC",
"UserId": "userASS"
},
"Profile-87ac2824-bb9d-4c8f-98b1-308e6b188c52": {
"Activated": "3/10/2020 3:54:14 PM",
"BoxUri": "https://hermod-dev.go.nexusgroup.com/ms/60715a91-45d4-4a34-90c3-d9d327f902ec",
"CardIdentifier": "",
"DeleteDisabled": "false",
"DeleteProfileAfterImport": "false",
"DisplayName": "TestProfile",
"EncryptionKeyDelete": "",
"Id": "87ac2824-bb9d-4c8f-98b1-308e6b188c52",
"Issuer": "hermod-dev.go",
"KeyList": "signer|ee5b50d6a4b8b24a19b9011d781c5bdf_090eae2c-b3cb-4fff-8ec8-70f4c344736b|8ee194c6dd374fd3810fcadb2bbfb981eeb7aaf0",
"PinResetButtonDisabled": "false",
"ReaderName": "",
"SmartCardId": "87ac2824-bb9d-4c8f-98b1-308e6b188c52",
"Status": "Online",
"Token": "426473a7-6e4e-4fb3-8896-5a285f94c4b4",
"Type": "Software",
"UserId": "OS19FF111801"
},
"Profile-8fd5a513-b19a-406b-be20-ac1a460fc8c0": {
"Activated": "3/10/2020 3:55:39 PM",
"BoxUri": "https://hermod-dev.go.nexusgroup.com/ms/e9a68660-c7f2-4e2d-806a-c94c94ac3439",
"CardIdentifier": "",
"DeleteDisabled": "false",
"DeleteProfileAfterImport": "false",
"ThemeDisplayName": "LightTestProfile",
"WipeYubi": "false" }, "ProfilesEncryptionKeyDelete": { "Profile-526f4c96-dc64-41a9-a87a-dae10cfadff0": {",
"Activated": "3/10/2020 4:33:58 PMId": "8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"BoxUriIssuer": "https://hermod-dev.go.nexusgroup.com/ms/9df91ea5-e243-45c5-af63-9fa150115b68",
"CardIdentifierKeyList": "ffcdd17d-8227-40fb-b1e0-8d0c0d380d1bsigner|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\42bead215599cadb8c1c6c700dc0e63d800890f7.PCPKEY|4cf81c7f91a61a5b10bb3e8a56c0b5e9e72b87e6",
"DeleteDisabledPinResetButtonDisabled": "truefalse",
"DeleteProfileAfterImportReaderName": "false",
"DisplayNameSmartCardId": "TestProfile8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"EncryptionKeyDeleteStatus": "Online",
"IdToken": "526f4c9677948522-dc64c705-41a94162-a87a9566-dae10cfadff0452beb0c8d40",
"IssuerType": "hermod-dev.goTPM",
"KeyListUserId": "signer|pex-17dd3bd7-75ed-4a71-84a2-bcc85-07718|74f7ce30e86197ebf2131d2876e0c934255fd0db",OS191ff11801"
},
"Profile-9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133": {
"PinResetButtonDisabledActivated": "false3/10/2020 3:13:19 PM",
"ReaderNameBoxUri": "Microsoft Virtual Smart Card 10NA",
"SmartCardIdCardIdentifier": "526f4c96-dc64-41a9-a87a-dae10cfadff0",
"StatusDeleteDisabled": "Onlinefalse",
"TokenDeleteProfileAfterImport": "e1bdd8b9-d405-4687-8710-61aa70febfe1false",
"TypeDisplayName": "VSCha",
"UserIdEncryptionKeyDelete": "userASS"
,
}, "Profile-87ac2824-bb9d-4c8f-98b1-308e6b188c52Id": {"9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
"ActivatedIssuer": "3/10/2020 3:54:14 PMNexus CM Bootstrap CA",
"BoxUriKeyList": "https://hermod-dev.go.nexusgroup.com/ms/60715a91-45d4-4a34-90c3-d9d327f902ecFileP12|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\b5338b9ac694b89601a5657f587c118081196203.PCPKEY|9b7acfb2ab13518d612c2abdef9be195aedbc158",
"CardIdentifierPinResetButtonDisabled": "",
"DeleteDisabledReaderName": "false",
"DeleteProfileAfterImportSmartCardId": "false9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
"DisplayNameStatus": "TestProfileOnline",
"EncryptionKeyDeleteToken": "NA",
"IdType": "87ac2824-bb9d-4c8f-98b1-308e6b188c52File TPM",
"IssuerUserId": "hermod-dev.go",
Security Officer 1"
},
"KeyListProfileIdsList": "signer|ee5b50d6a4b8b24a19b9011d781c5bdf_090eae2c-b3cb-4fff-8ec8-70f4c344736b|8ee194c6dd374fd3810fcadb2bbfb981eeb7aaf0",9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133 87ac2824-bb9d-4c8f-98b1-308e6b188c52 8fd5a513-b19a-406b-be20-ac1a460fc8c0 526f4c96-dc64-41a9-a87a-dae10cfadff0"
}
}
|
Or the json file can have a simplified structure (not using the groups): Code Block |
---|
title | Example: Simplified json file |
---|
collapse | true |
---|
| {
"PinResetButtonDisabledcurrentVersion": "false0.10.41.0",
"ReaderNameFirstUseTime": ""132284845977922598,
"SmartCardIdFirstVersionInstalled": "87ac2824-bb9d-4c8f-98b1-308e6b188c520.10.41.0",
"StatusIsFirstRun": "Online"true,
"TokenAlwaysFlushLogFile": "426473a7-6e4e-4fb3-8896-5a285f94c4b4true",
"TypeImportP12Target": "SoftwareTPM",
"UserIdKeyProtLevel": "OS19FF111801"
}NoConsent",
"Profile-8fd5a513-b19a-406b-be20-ac1a460fc8c0LogLevel": {"Trace",
"ActivatedMinimizeAfter": "3/10/2020 3:55:39 PMfalse",
"BoxUri": "https://hermod-dev.go.nexusgroup.com/ms/e9a68660-c7f2-4e2d-806a-c94c94ac3439"SignAndAuthenticateWithOwnCertificatesOnly": "false",
"CardIdentifierTheme": "Light",
"DeleteDisabledWipeYubi": "false",
"Profile-526f4c96-dc64-41a9-a87a-dae10cfadff0": {
"DeleteProfileAfterImportActivated": "false3/10/2020 4:33:58 PM",
"DisplayNameBoxUri": "TestProfile",
"EncryptionKeyDelete": ""https://hermod-dev.go.nexusgroup.com/ms/9df91ea5-e243-45c5-af63-9fa150115b68",
"IdCardIdentifier": "8fd5a513ffcdd17d-b19a8227-406b40fb-be20b1e0-ac1a460fc8c08d0c0d380d1b",
"IssuerDeleteDisabled": "hermod-dev.gotrue",
"KeyListDeleteProfileAfterImport": "signer|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\42bead215599cadb8c1c6c700dc0e63d800890f7.PCPKEY|4cf81c7f91a61a5b10bb3e8a56c0b5e9e72b87e6false",
"PinResetButtonDisabledDisplayName": "falseTestProfile",
"ReaderNameEncryptionKeyDelete": "",
"SmartCardIdId": "8fd5a513526f4c96-b19adc64-406b41a9-be20a87a-ac1a460fc8c0dae10cfadff0",
"StatusIssuer": "Onlinehermod-dev.go",
"TokenKeyList": "77948522-c705-4162-9566-452beb0c8d40signer|pex-17dd3bd7-75ed-4a71-84a2-bcc85-07718|74f7ce30e86197ebf2131d2876e0c934255fd0db",
"TypePinResetButtonDisabled": "TPMfalse",
"UserIdReaderName": "OS191ff11801"Microsoft Virtual },
"Profile-9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133": {Smart Card 10",
"ActivatedSmartCardId": "3/10/2020 3:13:19 PM526f4c96-dc64-41a9-a87a-dae10cfadff0",
"BoxUriStatus": "NAOnline",
"CardIdentifierToken": "e1bdd8b9-d405-4687-8710-61aa70febfe1",
"DeleteDisabledType": "falseVSC",
"DeleteProfileAfterImportUserId": "falseuserASS",
},
"DisplayNameProfile-87ac2824-bb9d-4c8f-98b1-308e6b188c52": "ha",{
"EncryptionKeyDeleteActivated": "3/10/2020 3:54:14 PM",
"IdBoxUri": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133https://hermod-dev.go.nexusgroup.com/ms/60715a91-45d4-4a34-90c3-d9d327f902ec",
"IssuerCardIdentifier": "Nexus CM Bootstrap CA",
"KeyListDeleteDisabled": "FileP12|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\b5338b9ac694b89601a5657f587c118081196203.PCPKEY|9b7acfb2ab13518d612c2abdef9be195aedbc158false",
"DeleteProfileAfterImport": "false",
"PinResetButtonDisabledDisplayName": "TestProfile",
"ReaderNameEncryptionKeyDelete": "",
"SmartCardIdId": "9b7acfb2ab13518d612c2abdef9be195aedbc158_63719446399005213387ac2824-bb9d-4c8f-98b1-308e6b188c52",
"StatusIssuer": "Onlinehermod-dev.go",
"Token": "NAKeyList": "signer|ee5b50d6a4b8b24a19b9011d781c5bdf_090eae2c-b3cb-4fff-8ec8-70f4c344736b|8ee194c6dd374fd3810fcadb2bbfb981eeb7aaf0",
"TypePinResetButtonDisabled": "File TPMfalse",
"UserIdReaderName": "Security Officer 1"
,
}, "ProfileIdsListSmartCardId": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133 87ac2824-bb9d-4c8f-98b1-308e6b188c52 8fd5a513-b19a-406b-be20-ac1a460fc8c0 526f4c96-dc64-41a9-a87a-dae10cfadff0"",
} }
|
Or the json file can have a simplified structure (not using the groups): Code Block |
---|
title | Example: Simplified json file |
---|
collapse | true |
---|
| { "Status": "Online",
"currentVersionToken": "0.10.41.0426473a7-6e4e-4fb3-8896-5a285f94c4b4",
"FirstUseTimeType": 132284845977922598"Software",
"FirstVersionInstalledUserId": "0.10.41.0"OS19FF111801"
},
"IsFirstRunProfile-8fd5a513-b19a-406b-be20-ac1a460fc8c0": {
true, "AlwaysFlushLogFileActivated": "true3/10/2020 3:55:39 PM",
"ImportP12TargetBoxUri": "TPMhttps://hermod-dev.go.nexusgroup.com/ms/e9a68660-c7f2-4e2d-806a-c94c94ac3439",
"KeyProtLevelCardIdentifier": "NoConsent",
"LogLevelDeleteDisabled": "Tracefalse",
"MinimizeAfterDeleteProfileAfterImport": "false",
"SignAndAuthenticateWithOwnCertificatesOnlyDisplayName": "falseTestProfile",
"ThemeEncryptionKeyDelete": "Light",
"WipeYubiId": "false8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"Profile-526f4c96-dc64-41a9-a87a-dae10cfadff0 "Issuer": {"hermod-dev.go",
"ActivatedKeyList": "3/10/2020 4:33:58 PMsigner|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\42bead215599cadb8c1c6c700dc0e63d800890f7.PCPKEY|4cf81c7f91a61a5b10bb3e8a56c0b5e9e72b87e6",
"BoxUriPinResetButtonDisabled": "https://hermod-dev.go.nexusgroup.com/ms/9df91ea5-e243-45c5-af63-9fa150115b68false",
"CardIdentifierReaderName": "ffcdd17d-8227-40fb-b1e0-8d0c0d380d1b",
"DeleteDisabledSmartCardId": "true8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"DeleteProfileAfterImportStatus": "falseOnline",
"DisplayNameToken": "TestProfile "77948522-c705-4162-9566-452beb0c8d40",
"EncryptionKeyDeleteType": "TPM",
"IdUserId": "526f4c96-dc64-41a9-a87a-dae10cfadff0",
OS191ff11801"
},
"IssuerProfile-9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133": "hermod-dev.go",{
"KeyListActivated": "signer|pex-17dd3bd7-75ed-4a71-84a2-bcc85-07718|74f7ce30e86197ebf2131d2876e0c934255fd0db3/10/2020 3:13:19 PM",
"PinResetButtonDisabledBoxUri": "falseNA",
"ReaderNameCardIdentifier": "Microsoft Virtual Smart Card 10",
"SmartCardIdDeleteDisabled": "526f4c96-dc64-41a9-a87a-dae10cfadff0false",
"StatusDeleteProfileAfterImport": "Onlinefalse",
"TokenDisplayName": "e1bdd8b9-d405-4687-8710-61aa70febfe1ha",
"TypeEncryptionKeyDelete": "VSC",
"UserIdId": "userASS9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
},
"Profile-87ac2824-bb9d-4c8f-98b1-308e6b188c52": { "Issuer": "Nexus CM Bootstrap CA",
"ActivatedKeyList": "3/10/2020 3:54:14 PMFileP12|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\b5338b9ac694b89601a5657f587c118081196203.PCPKEY|9b7acfb2ab13518d612c2abdef9be195aedbc158",
"BoxUriPinResetButtonDisabled": "https://hermod-dev.go.nexusgroup.com/ms/60715a91-45d4-4a34-90c3-d9d327f902ec"",
"CardIdentifierReaderName": "",
"DeleteDisabledSmartCardId": "false9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
"DeleteProfileAfterImportStatus": "falseOnline",
"DisplayNameToken": "TestProfileNA",
"EncryptionKeyDeleteType": "File TPM",
"UserId": "Security Officer 1"
},
"Id": "87ac2824-bb9d-4c8f-98b1-308e6b188c52",
"ProfileIdsList": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133 87ac2824-bb9d-4c8f-98b1-308e6b188c52 8fd5a513-b19a-406b-be20-ac1a460fc8c0 526f4c96-dc64-41a9-a87a-dae10cfadff0"
} |
It is not necessary to specify all parameters: Code Block |
---|
title | Example: Only specify some parameters in the json file |
---|
collapse | true |
---|
| {
"IssuerAlwaysFlushLogFile": "hermod-dev.gofalse",
"KeyListImportP12Target": "signer|ee5b50d6a4b8b24a19b9011d781c5bdf_090eae2c-b3cb-4fff-8ec8-70f4c344736b|8ee194c6dd374fd3810fcadb2bbfb981eeb7aaf0TPM",
"PinResetButtonDisabledKeyProtLevel": "falseNoConsent",
"ReaderNameLogLevel": "Trace",
"SmartCardIdMinimizeAfter": "87ac2824-bb9d-4c8f-98b1-308e6b188c52false",
"StatusSignAndAuthenticateWithOwnCertificatesOnly": "Onlinefalse",
"TokenTheme": "426473a7-6e4e-4fb3-8896-5a285f94c4b4Light",
"TypeWipeYubi": "Softwarefalse",
"UserId": "OS19FF111801"
},
"Profile-8fd5a513-b19a-406b-be20-ac1a460fc8c0": {
"Activated": "3/10/2020 3:55:39 PM",
"BoxUri": "https://hermod-dev.go.nexusgroup.com/ms/e9a68660-c7f2-4e2d-806a-c94c94ac3439",
"CardIdentifier": "",
"DeleteDisabled": "false",
"DeleteProfileAfterImport": "false",
"DisplayName": "TestProfile",
"EncryptionKeyDelete": "",
"Id": "8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"Issuer": "hermod-dev.go",
"KeyList": "signer|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\42bead215599cadb8c1c6c700dc0e63d800890f7.PCPKEY|4cf81c7f91a61a5b10bb3e8a56c0b5e9e72b87e6",
"PinResetButtonDisabled": "false",
"ReaderName": "",
"SmartCardId": "8fd5a513-b19a-406b-be20-ac1a460fc8c0",
"Status": "Online",
"Token": "77948522-c705-4162-9566-452beb0c8d40",
"Type": "TPM",
"UserId": "OS191ff11801"
},
"Profile-9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133": {
"Activated": "3/10/2020 3:13:19 PM",
"BoxUri": "NA",
"CardIdentifier": "",
"DeleteDisabled": "false",
"DeleteProfileAfterImport": "false",
"DisplayName": "ha",
"EncryptionKeyDelete": "",
"Id": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
"Issuer": "Nexus CM Bootstrap CA",
"KeyList": "FileP12|C:\\Users\\david\\AppData\\Local\\Microsoft\\Crypto\\PCPKSP\\b5d414be8b38409f8567a0236ac4220c779c750b\\b5338b9ac694b89601a5657f587c118081196203.PCPKEY|9b7acfb2ab13518d612c2abdef9be195aedbc158",
"PinResetButtonDisabled": "",
"ReaderName": "",
"SmartCardId": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133",
"Status": "Online",
"Token": "NA",
"Type": "File TPM",
"UserId": "Security Officer 1"
},
"ProfileIdsList": "9b7acfb2ab13518d612c2abdef9be195aedbc158_637194463990052133 87ac2824-bb9d-4c8f-98b1-308e6b188c52 8fd5a513-b19a-406b-be20-ac1a460fc8c0 526f4c96-dc64-41a9-a87a-dae10cfadff0"
} |
It is not necessary to specify all parameters: Code Block |
---|
title | Example: Only specify some parameters in the json file |
---|
collapse | true |
---|
| {
"AlwaysFlushLogFile": "false",
"ImportP12Target": "TPM",
"KeyProtLevel": "NoConsent",
"LogLevel": "Trace",
"MinimizeAfter": "false",
"SignAndAuthenticateWithOwnCertificatesOnly": "false",
"Theme": "Light",
"WipeYubi": "false",
} |
Note |
---|
It is NOT recommended to use the clean option when modifying only some parameters. Note that the not mentioned user adjustable settings will be set to default, and the not mentioned profile settings are lost. |
|