@cef-ebsi/cli 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/LICENSE +189 -189
  2. package/README.md +55 -54
  3. package/bin/cli.js +13 -13
  4. package/dist/app.js +8 -4
  5. package/dist/app.js.map +1 -1
  6. package/dist/commands/compute.js +10 -9
  7. package/dist/commands/compute.js.map +1 -1
  8. package/dist/scripts/accreditAndAuthorize/conformance/step1 +34 -34
  9. package/dist/scripts/accreditAndAuthorize/conformance/step2 +17 -17
  10. package/dist/scripts/accreditAndAuthorize/conformance/step3 +8 -8
  11. package/dist/scripts/accreditAndAuthorize/conformance/step4 +26 -26
  12. package/dist/scripts/accreditAndAuthorize/conformance/step5 +12 -12
  13. package/dist/scripts/accreditAndAuthorize/conformance/step6 +13 -13
  14. package/dist/scripts/accreditAndAuthorize/conformance/step7 +6 -6
  15. package/dist/scripts/accreditAndAuthorize/test/step1 +34 -34
  16. package/dist/scripts/accreditAndAuthorize/test/step2 +17 -17
  17. package/dist/scripts/accreditAndAuthorize/test/step3 +8 -8
  18. package/dist/scripts/accreditAndAuthorize/test/step4 +26 -26
  19. package/dist/scripts/accreditAndAuthorize/test/step5 +12 -12
  20. package/dist/scripts/accreditAndAuthorize/test/step6 +13 -13
  21. package/dist/scripts/accreditAndAuthorize/test/step7 +6 -6
  22. package/dist/scripts/accreditTI +20 -20
  23. package/dist/scripts/assets/CTRevocableCredential.json +29 -29
  24. package/dist/scripts/assets/CredentialToAttestVerifiableAuthorisationForTrustChain.json +28 -28
  25. package/dist/scripts/assets/VerifiableAccreditationToAccredit.json +35 -35
  26. package/dist/scripts/assets/VerifiableAccreditationToAttest.json +32 -32
  27. package/dist/scripts/assets/VerifiableAuthorisationForTrustChain.json +21 -21
  28. package/dist/scripts/assets/VerifiableAuthorisationToOnboard.json +23 -23
  29. package/dist/scripts/bootstrap/0a-loadTPROperator +5 -5
  30. package/dist/scripts/bootstrap/0b-loadAdmin +8 -6
  31. package/dist/scripts/bootstrap/1-populateTPR +115 -115
  32. package/dist/scripts/bootstrap/2-populateDID +21 -21
  33. package/dist/scripts/bootstrap/3-populateTAR +72 -72
  34. package/dist/scripts/bootstrap/4-populateTimestamp +9 -9
  35. package/dist/scripts/bootstrap/5-populateTIR +9 -9
  36. package/dist/scripts/bootstrap/6-populateTSR +22 -22
  37. package/dist/scripts/bootstrap/7-setupConformanceIssuer +34 -34
  38. package/dist/scripts/initializeContracts +5 -5
  39. package/dist/scripts/issueVcOnboard +9 -0
  40. package/dist/scripts/issueVcRootTAO +11 -0
  41. package/dist/scripts/issueVcTAO +12 -0
  42. package/dist/scripts/issueVcTI +12 -0
  43. package/dist/scripts/issue_CTRevocableCredential +12 -12
  44. package/dist/scripts/issue_SelfAttestationSupportOffice +10 -10
  45. package/dist/scripts/issue_VerifiableAccreditationToAccredit +11 -11
  46. package/dist/scripts/issue_VerifiableAccreditationToAttest +11 -11
  47. package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +10 -10
  48. package/dist/scripts/issue_VerifiableAuthorisationToOnboard +9 -9
  49. package/dist/scripts/preregisterIssuer +6 -0
  50. package/dist/scripts/registerDidDocument_ES256K_ES256 +13 -13
  51. package/dist/scripts/registerIssuer +6 -0
  52. package/dist/scripts/wctv3/accreditAndAuthorize +105 -105
  53. package/dist/scripts/wctv3/holderWallet +29 -29
  54. package/dist/scripts/wctv3/issueToHolder +26 -26
  55. package/dist/scripts/wctv3/pda1 +1 -1
  56. package/dist/scripts/wctv3/verifier +6 -6
  57. package/dist/tsconfig.tsbuildinfo +1 -1
  58. package/dist/utils/Client.js +2 -0
  59. package/dist/utils/Client.js.map +1 -1
  60. package/package.json +98 -98
@@ -1,13 +1,13 @@
1
- # revoke credential issued to subaccount
2
- subaccount: compute subaccountDid myIssuer.did
3
- attributes: tir get /issuers/ subaccount /attributes
4
- t: authorisation auth tir_write_presentation ES256
5
- using token t.access_token
6
- tir setAttributeMetadata subaccount attributes.items.0.id revoked myIssuer.did vcTAO.reservedAttributeId
7
- tir setAttributeMetadata subaccount attributes.items.1.id revoked myIssuer.did vcTAO.reservedAttributeId
8
-
9
- # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Revoke accreditations from sub-account DID
1
+ # revoke credential issued to subaccount
2
+ subaccount: compute subaccountDid myIssuer.did
3
+ attributes: tir get /issuers/ subaccount /attributes
4
+ t: authorisation auth tir_write_presentation ES256
5
+ using token t.access_token
6
+ tir setAttributeMetadata subaccount attributes.items.0.id revoked myIssuer.did vcTAO.reservedAttributeId
7
+ tir setAttributeMetadata subaccount attributes.items.1.id revoked myIssuer.did vcTAO.reservedAttributeId
8
+
9
+ # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
10
+ # and validate the following tests:
11
+ #
12
+ # - Revoke accreditations from sub-account DID
13
13
  # - Revoke accreditations from sub-account DID
@@ -1,14 +1,14 @@
1
- # request VerifiableAuthorisationForTrustChain (Root TAO)
2
- vcRootTAO: conformance getCredential roottao ES256 vcOnboard.vc
3
-
4
- # register the credential for RootTAO
5
- t: authorisation auth tir_write_presentation ES256
6
- using token t.access_token
7
- tir setAttributeData myIssuer.did vcRootTAO.reservedAttributeId vcRootTAO.vc
8
-
9
- # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Request VerifiableAuthorisationForTrustChain
13
- # - Request VerifiableAuthorisationForTrustChain
1
+ # request VerifiableAuthorisationForTrustChain (Root TAO)
2
+ vcRootTAO: conformance getCredential roottao ES256 vcOnboard.vc
3
+
4
+ # register the credential for RootTAO
5
+ t: authorisation auth tir_write_presentation ES256
6
+ using token t.access_token
7
+ tir setAttributeData myIssuer.did vcRootTAO.reservedAttributeId vcRootTAO.vc
8
+
9
+ # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
10
+ # and validate the following tests:
11
+ #
12
+ # - Request VerifiableAuthorisationForTrustChain
13
+ # - Request VerifiableAuthorisationForTrustChain
14
14
  # - Register VerifiableAuthorisationForTrustChain into the Trusted Issuers Registry
@@ -1,7 +1,7 @@
1
- # request CTAAQualificationCredential
2
- ctaaQualification: conformance getCredential qualification
3
-
4
- # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
5
- # and validate the following tests:
6
- #
1
+ # request CTAAQualificationCredential
2
+ ctaaQualification: conformance getCredential qualification
3
+
4
+ # Go to https://api-test.ebsi.eu/docs/wallet-conformance/accredit-authorise/flow
5
+ # and validate the following tests:
6
+ #
7
7
  # - Request CTAAQualificationCredential from Conformance Issuer
@@ -1,21 +1,21 @@
1
- # load tao
2
- using user null
3
- using user ES256K did1 PRIVATE_KEY_ES256K_TAO DID_TAO
4
- using user ES256 did1 PRIVATE_KEY_ES256_TAO DID_TAO
5
- set taoPrivateKeyES256K user.privateKeyHex
6
- set taoPrivateKeyES256 user.keys.ES256.privateKeyJwk
7
- set taoDid user.did
8
-
9
- # create accreditation to attest
10
- payloadVcTI: load assets/VerifiableAccreditationToAttest.json
11
- set payloadVcTI.issuer taoDid
12
- set payloadVcTI.credentialSubject.id NEW_ISSUER_DID
13
- set payloadVcTI.credentialSchema.id CREDENTIAL_SCHEMA_ID
14
- set payloadVcTI.termsOfUse.id ACCREDITATION_TAO
15
- vcTI: compute createVcJwt payloadVcTI {} ES256
16
-
17
- # preregister the new issuer
18
- tTao: authorisation auth tir_write_presentation ES256K
19
- using token tTao.access_token
20
- attributeIdTI: compute randomID
1
+ # load tao
2
+ using user null
3
+ using user ES256K did1 PRIVATE_KEY_ES256K_TAO DID_TAO
4
+ using user ES256 did1 PRIVATE_KEY_ES256_TAO DID_TAO
5
+ set taoPrivateKeyES256K user.privateKeyHex
6
+ set taoPrivateKeyES256 user.keys.ES256.privateKeyJwk
7
+ set taoDid user.did
8
+
9
+ # create accreditation to attest
10
+ payloadVcTI: load assets/VerifiableAccreditationToAttest.json
11
+ set payloadVcTI.issuer taoDid
12
+ set payloadVcTI.credentialSubject.id NEW_ISSUER_DID
13
+ set payloadVcTI.credentialSchema.id CREDENTIAL_SCHEMA_ID
14
+ set payloadVcTI.termsOfUse.id ACCREDITATION_TAO
15
+ vcTI: compute createVcJwt payloadVcTI {} ES256
16
+
17
+ # preregister the new issuer
18
+ tTao: authorisation auth tir_write_presentation ES256K
19
+ using token tTao.access_token
20
+ attributeIdTI: compute randomID
21
21
  tir setAttributeMetadata NEW_ISSUER_DID attributeIdTI ti taoDid ACCREDITATION_ID_TAO
@@ -1,30 +1,30 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "CTRevocable"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": ""
13
- },
14
- "credentialStatus": {
15
- "id": "",
16
- "type": "StatusList2021Entry",
17
- "statusPurpose": "revocation",
18
- "statusListIndex": "",
19
- "statusListCredential": ""
20
- },
21
- "termsOfUse": {
22
- "id": "",
23
- "type": "IssuanceCertificate"
24
-
25
- },
26
- "credentialSchema": {
27
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
28
- "type": "FullJsonSchemaValidator2021"
29
- }
1
+ {
2
+ "@context": [
3
+ "https://www.w3.org/2018/credentials/v1"
4
+ ],
5
+ "type": [
6
+ "VerifiableCredential",
7
+ "VerifiableAttestation",
8
+ "CTRevocable"
9
+ ],
10
+ "issuer": "",
11
+ "credentialSubject": {
12
+ "id": ""
13
+ },
14
+ "credentialStatus": {
15
+ "id": "",
16
+ "type": "StatusList2021Entry",
17
+ "statusPurpose": "revocation",
18
+ "statusListIndex": "",
19
+ "statusListCredential": ""
20
+ },
21
+ "termsOfUse": {
22
+ "id": "",
23
+ "type": "IssuanceCertificate"
24
+
25
+ },
26
+ "credentialSchema": {
27
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
28
+ "type": "FullJsonSchemaValidator2021"
29
+ }
30
30
  }
@@ -1,29 +1,29 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAccreditation",
9
- "VerifiableAccreditationToAttest"
10
- ],
11
- "issuer": "",
12
- "credentialSubject": {
13
- "id": "",
14
- "accreditedFor": [
15
- {
16
- "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
17
- "types": [
18
- "VerifiableCredential",
19
- "VerifiableAttestation",
20
- "VerifiableAuthorisationForTrustChain"
21
- ]
22
- }
23
- ]
24
- },
25
- "credentialSchema": {
26
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
27
- "type": "FullJsonSchemaValidator2021"
28
- }
1
+ {
2
+ "@context": [
3
+ "https://www.w3.org/2018/credentials/v1"
4
+ ],
5
+ "type": [
6
+ "VerifiableCredential",
7
+ "VerifiableAttestation",
8
+ "VerifiableAccreditation",
9
+ "VerifiableAccreditationToAttest"
10
+ ],
11
+ "issuer": "",
12
+ "credentialSubject": {
13
+ "id": "",
14
+ "accreditedFor": [
15
+ {
16
+ "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
17
+ "types": [
18
+ "VerifiableCredential",
19
+ "VerifiableAttestation",
20
+ "VerifiableAuthorisationForTrustChain"
21
+ ]
22
+ }
23
+ ]
24
+ },
25
+ "credentialSchema": {
26
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
27
+ "type": "FullJsonSchemaValidator2021"
28
+ }
29
29
  }
@@ -1,35 +1,35 @@
1
- {
2
- "@context": ["https://www.w3.org/2018/credentials/v1"],
3
- "id": "urn:uuid:8568b525-a24e-4bc0-9d97-6a8459ec0130",
4
- "type": [
5
- "VerifiableCredential",
6
- "VerifiableAttestation",
7
- "VerifiableAccreditation",
8
- "VerifiableAccreditationToAccredit"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": "",
13
- "accreditedFor": [
14
- {
15
- "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
16
- "types": [
17
- "VerifiableCredential",
18
- "VerifiableAttestation",
19
- "CTRevocable"
20
- ],
21
- "limitJurisdiction": "https://publications.europa.eu/resource/authority/atu/FIN"
22
- }
23
- ]
24
- },
25
- "termsOfUse": [
26
- {
27
- "id": "",
28
- "type": "IssuanceCertificate"
29
- }
30
- ],
31
- "credentialSchema": {
32
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
33
- "type": "FullJsonSchemaValidator2021"
34
- }
35
- }
1
+ {
2
+ "@context": ["https://www.w3.org/2018/credentials/v1"],
3
+ "id": "urn:uuid:8568b525-a24e-4bc0-9d97-6a8459ec0130",
4
+ "type": [
5
+ "VerifiableCredential",
6
+ "VerifiableAttestation",
7
+ "VerifiableAccreditation",
8
+ "VerifiableAccreditationToAccredit"
9
+ ],
10
+ "issuer": "",
11
+ "credentialSubject": {
12
+ "id": "",
13
+ "accreditedFor": [
14
+ {
15
+ "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
16
+ "types": [
17
+ "VerifiableCredential",
18
+ "VerifiableAttestation",
19
+ "CTRevocable"
20
+ ],
21
+ "limitJurisdiction": "https://publications.europa.eu/resource/authority/atu/FIN"
22
+ }
23
+ ]
24
+ },
25
+ "termsOfUse": [
26
+ {
27
+ "id": "",
28
+ "type": "IssuanceCertificate"
29
+ }
30
+ ],
31
+ "credentialSchema": {
32
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
33
+ "type": "FullJsonSchemaValidator2021"
34
+ }
35
+ }
@@ -1,33 +1,33 @@
1
- {
2
- "@context": ["https://www.w3.org/2018/credentials/v1"],
3
- "type": [
4
- "VerifiableCredential",
5
- "VerifiableAttestation",
6
- "VerifiableAccreditation",
7
- "VerifiableAccreditationToAttest"
8
- ],
9
- "issuer": "",
10
- "credentialSubject": {
11
- "id": "",
12
- "accreditedFor": [
13
- {
14
- "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
15
- "types": [
16
- "VerifiableCredential",
17
- "VerifiableAttestation",
18
- "CTRevocable"
19
- ],
20
- "limitJurisdiction":
21
- "https://publications.europa.eu/resource/authority/atu/EUR"
22
- }
23
- ]
24
- },
25
- "termsOfUse": {
26
- "id": "",
27
- "type": "IssuanceCertificate"
28
- },
29
- "credentialSchema": {
30
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
31
- "type": "FullJsonSchemaValidator2021"
32
- }
1
+ {
2
+ "@context": ["https://www.w3.org/2018/credentials/v1"],
3
+ "type": [
4
+ "VerifiableCredential",
5
+ "VerifiableAttestation",
6
+ "VerifiableAccreditation",
7
+ "VerifiableAccreditationToAttest"
8
+ ],
9
+ "issuer": "",
10
+ "credentialSubject": {
11
+ "id": "",
12
+ "accreditedFor": [
13
+ {
14
+ "schemaId": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
15
+ "types": [
16
+ "VerifiableCredential",
17
+ "VerifiableAttestation",
18
+ "CTRevocable"
19
+ ],
20
+ "limitJurisdiction":
21
+ "https://publications.europa.eu/resource/authority/atu/EUR"
22
+ }
23
+ ]
24
+ },
25
+ "termsOfUse": {
26
+ "id": "",
27
+ "type": "IssuanceCertificate"
28
+ },
29
+ "credentialSchema": {
30
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/zjVFNvbEBPAr3a724DttioZpgZmNr75BBtRzZqk7pkDe",
31
+ "type": "FullJsonSchemaValidator2021"
32
+ }
33
33
  }
@@ -1,22 +1,22 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAuthorisationForTrustChain"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": ""
13
- },
14
- "termsOfUse": {
15
- "id": "",
16
- "type": "IssuanceCertificate"
17
- },
18
- "credentialSchema": {
19
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
20
- "type": "FullJsonSchemaValidator2021"
21
- }
1
+ {
2
+ "@context": [
3
+ "https://www.w3.org/2018/credentials/v1"
4
+ ],
5
+ "type": [
6
+ "VerifiableCredential",
7
+ "VerifiableAttestation",
8
+ "VerifiableAuthorisationForTrustChain"
9
+ ],
10
+ "issuer": "",
11
+ "credentialSubject": {
12
+ "id": ""
13
+ },
14
+ "termsOfUse": {
15
+ "id": "",
16
+ "type": "IssuanceCertificate"
17
+ },
18
+ "credentialSchema": {
19
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
20
+ "type": "FullJsonSchemaValidator2021"
21
+ }
22
22
  }
@@ -1,24 +1,24 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAuthorisationToOnboard"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": "",
13
- "accreditedFor": []
14
- },
15
- "termsOfUse": {
16
- "id": "",
17
- "type": "IssuanceCertificate"
18
-
19
- },
20
- "credentialSchema": {
21
- "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
22
- "type": "FullJsonSchemaValidator2021"
23
- }
1
+ {
2
+ "@context": [
3
+ "https://www.w3.org/2018/credentials/v1"
4
+ ],
5
+ "type": [
6
+ "VerifiableCredential",
7
+ "VerifiableAttestation",
8
+ "VerifiableAuthorisationToOnboard"
9
+ ],
10
+ "issuer": "",
11
+ "credentialSubject": {
12
+ "id": "",
13
+ "accreditedFor": []
14
+ },
15
+ "termsOfUse": {
16
+ "id": "",
17
+ "type": "IssuanceCertificate"
18
+
19
+ },
20
+ "credentialSchema": {
21
+ "id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/z3MgUFUkb722uq4x3dv5yAJmnNmzDFeK5UC8x83QoeLJM",
22
+ "type": "FullJsonSchemaValidator2021"
23
+ }
24
24
  }
@@ -1,5 +1,5 @@
1
- # Script to load the admin with the ROLE OPERATOR in the Trusted Apps Registry
2
- # This role is granted by the multisignature wallet
3
- env SET_ENV
4
- using user null
5
- using user ES256K did1 PRIVATE_KEY_TPR_OPERATOR DID_TPR_OPERATOR
1
+ # Script to load the admin with the ROLE OPERATOR in the Trusted Apps Registry
2
+ # This role is granted by the multisignature wallet
3
+ env SET_ENV
4
+ using user null
5
+ using user ES256K did1 PRIVATE_KEY_TPR_OPERATOR DID_TPR_OPERATOR
@@ -1,6 +1,8 @@
1
- # Script to load a user with admin attributes in the Trusted Policies Registry
2
- # (example: "TIR:insertIssuer" -> attribute to insert issuers in the Trusted Issuers Registry)
3
- env SET_ENV
4
- using user null
5
- using user ES256K did1 PRIVATE_KEY_ES256K_SUPPORT_OFFICE DID_SUPPORT_OFFICE
6
- using user ES256 did1 PRIVATE_KEY_ES256_SUPPORT_OFFICE DID_SUPPORT_OFFICE
1
+ # Script to load a user with admin attributes in the Trusted Policies Registry
2
+ # (example: "TIR:insertIssuer" -> attribute to insert issuers in the Trusted Issuers Registry)
3
+ env SET_ENV
4
+ using user null
5
+ using user ES256K did1 PRIVATE_KEY_ES256K_SUPPORT_OFFICE DID_SUPPORT_OFFICE
6
+ using user ES256 did1 PRIVATE_KEY_ES256_SUPPORT_OFFICE DID_SUPPORT_OFFICE
7
+ set user.accreditationId ACCREDITATION_ID_SUPPORT_OFFICE
8
+ set user.accreditationUrl ACCREDITATION_URL_SUPPORT_OFFICE