-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: e2e key tests for optional defaults
- Loading branch information
1 parent
1485037
commit 6d911d1
Showing
5 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
waltid-services/waltid-e2e-tests/config/registration-defaults.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Setup what key should be generated on registration | ||
defaultKeyConfig: { | ||
backend: jwk | ||
keyType: Ed25519 | ||
} | ||
|
||
// Setup what DID should be generated based on above above defined key on registration | ||
defaultDidConfig: { | ||
method: jwk | ||
} | ||
|
||
// -- Hashicorp Vault TSE key example -- | ||
// defaultKeyConfig: { | ||
// backend: tse | ||
// config: { | ||
// server: "http://127.0.0.1:8200/v1/transit" | ||
// accessKey: "<your token here>" | ||
// } | ||
// keyType: Ed25519 | ||
// } | ||
|
||
// -- Oracle Cloud Infrastructure Vault KMS key example -- | ||
// defaultKeyConfig: { | ||
// backend: oci | ||
// config: { | ||
// tenancyOcid: "ocid1.tenancy.oc1..<long id>", | ||
// userOcid: "ocid1.user.oc1..<long id>", | ||
// fingerprint: "aa:bb:cc:dd:ee:ff:00:11:22:33:44:55:66:77:88:99", | ||
// cryptoEndpoint: "<some id>-crypto.kms.<the location>.oraclecloud.com", | ||
// managementEndpoint: "<some id>-management.kms.<the location>.oraclecloud.com", | ||
// signingKeyPem: "<private request signing key in PEM format>" | ||
// } | ||
// keyType: secp256r1 | ||
// } | ||
|
||
// -- did:web example -- | ||
// defaultDidConfig: { | ||
// method: web | ||
// config: { | ||
// domain: "https://wallet.walt.id" | ||
// path: "/wallet-api/registry/[random-uuid]" // automatically generates random UUID for path | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters