-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #671 from walt-id/feat/optional-defaults
Feat/optional registration defaults
- Loading branch information
Showing
16 changed files
with
127 additions
and
53 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
enabledFeatures = [ | ||
|
||
] | ||
"registration-defaults", | ||
] |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ enabledFeatures = [ | |
# entra, | ||
# lsp-potential | ||
# ... | ||
"registration-defaults", | ||
] | ||
|
||
disabledFeatures = [ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
enabledFeatures = [ | ||
# entra, | ||
# ... | ||
"registration-defaults", | ||
] |
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
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