Skip to content

Commit

Permalink
fix helm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Jul 3, 2023
1 parent 0db29f7 commit 1631ab7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
19 changes: 11 additions & 8 deletions edc-extensions/ssi/ssi-miw-credential-client/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MIW Client Credential Module

This module contains an implementation of the `SsiCredentialClient` interface for SSI.
It basically narrow down to two operations:
It basically narrows down to two operations:

- obtaining a token for protocol communication
- validating the token
Expand All @@ -13,10 +13,13 @@ For obtaining a `JWT` token also it reaches the MIW, that will create a token wi

## Configuration

| Key | Required | Example | Description |
|-----------------------------------------|----------|----------------|-----------------------------------|
| tx.ssi.miw.url | X | | MIW URL |
| tx.ssi.miw.authority.id | X | | BPN number of the authority |
| tx.ssi.oauth.token.url | X | | Token URL (Keycloak) |
| tx.ssi.oauth.client.id | X | | Client id |
| tx.ssi.oauth.client.secret.alias | X | | Vault alias for the client secret |
| Key | Required | Example | Description |
|----------------------------------|----------|----------------|-----------------------------------|
| tx.ssi.miw.url | X | | MIW URL |
| tx.ssi.miw.authority.id | X | | BPN number of the authority |
| tx.ssi.miw.authority.issuer | | | The id of the issuer (DID) |
| tx.ssi.oauth.token.url | X | | Token URL (Keycloak) |
| tx.ssi.oauth.client.id | X | | Client id |
| tx.ssi.oauth.client.secret.alias | X | | Vault alias for the client secret |

By default, the `tx.ssi.miw.authority.issuer` is composed with `did:web:<tx.ssi.miw.url>:<tx.ssi.miw.authority.id>
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ controlplane:
pullPolicy: Never
tag: "latest"
repository: "edc-controlplane-postgresql-azure-vault"
ssi:
miw:
url: "http://localhost:8080"
authorityId: "authorityId"
securityContext:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ runtime:
endpoints:
management:
authKey: password
ssi:
miw:
url: "http://localhost:8080"
authorityId: "authorityId"
image:
pullPolicy: Never
tag: "latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ controlplane:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
ssi:
miw:
url: "http://localhost:8080"
authorityId: "authorityId"
oauth:
client:
secretAlias: "client-secret"
Expand Down

0 comments on commit 1631ab7

Please sign in to comment.