Skip to content

Commit

Permalink
Merge pull request #627 from bcgov/feature/configInvitationLabel
Browse files Browse the repository at this point in the history
Configure invitation label for proofs
  • Loading branch information
loneil authored Sep 12, 2024
2 parents a44ce58 + 01b5d78 commit 76e6a4d
Show file tree
Hide file tree
Showing 13 changed files with 518 additions and 229 deletions.
3 changes: 2 additions & 1 deletion charts/vc-authn-oidc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------- |
| `acapyTenancyMode` | Agent tenancy mode, either `single` or `multi` | `single` |
| `setNonRevoked` | if True, the `non_revoked` attributed will be added to each of the present-proof request `requested_attribute` and `requested_predicate` with 'from=0' and'to=`int(time.time())` | `true` |
| `invitationLabel` | For the invitations sent that include the proof, what to add as the my_label field. Can be used to identify the requester to the prover | `"VC-AuthN"` |
| `useOobPresentProof` | if True, the present-proof request will be provided as a an [out of band](https://github.com/hyperledger/aries-rfcs/tree/main/features/0434-outofband) invitation with a [present-proof](https://github.com/hyperledger/aries-rfcs/tree/main/features/0037-present-proof) request inside. If False, the present-proof request will be use the [service-decorator](https://github.com/hyperledger/aries-rfcs/tree/main/features/0056-service-decorator) | `false` |
| `useOobLocalDIDService` | | `false` |
| `useUrlDeepLink` | if True, will use the new encoded URL (`didcomm://?_url={redirect URL}`) redirect form of the deep link | `false` |
| `walletDeepLinkPrefix` | Custom URI scheme and host to use for deep links (`{walletDeepLinkPrefix}?c_i={connection payload`) | `bcwallet://aries_proof-request` |
| `walletDeepLinkPrefix` | Custom URI scheme and host to use for deep links (`{walletDeepLinkPrefix}?c_i={connection payload`) | `"bcwallet://aries_proof-request"` |
| `controllerCameraRedirectUrl` | The redirect url can be a web link or the name of a template | `wallet_howto` |
| `controllerPresentationExpireTime` | The number of time in seconds a proof request will be valid for | `300` |
| `useHTTPS` | Prepend Agent and Admin URLs with `https` | `true` |
Expand Down
2 changes: 2 additions & 0 deletions charts/vc-authn-oidc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ spec:
value: {{ include "acapy.agent.url" . }}
- name: ACAPY_ADMIN_URL
value: {{ include "acapy.internal.admin.url" . }}
- name: INVITATION_LABEL
value: {{ .Values.invitationLabel | quote }}
- name: USE_OOB_PRESENT_PROOF
value: {{ .Values.useOobPresentProof | quote }}
- name: USE_URL_DEEP_LINK
Expand Down
2 changes: 2 additions & 0 deletions charts/vc-authn-oidc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ ingressSuffix: .apps.silver.devops.gov.bc.ca
acapyTenancyMode: single
## @param setNonRevoked if True, the `non_revoked` attributed will be added to each of the present-proof request `requested_attribute` and `requested_predicate` with 'from=0' and'to=`int(time.time())`
setNonRevoked: true
## @param invitationLabel For the invitations sent that include the proof, what to add as the my_label field. Can be used to identify the requester to the prover
invitationLabel: VC-AuthN
## @param useOobPresentProof if True, the present-proof request will be provided as a an [out of band](https://github.com/hyperledger/aries-rfcs/tree/main/features/0434-outofband) invitation with a [present-proof](https://github.com/hyperledger/aries-rfcs/tree/main/features/0037-present-proof) request inside. If False, the present-proof request will be use the [service-decorator](https://github.com/hyperledger/aries-rfcs/tree/main/features/0056-service-decorator)
useOobPresentProof: false
## @param useOobLocalDIDService
Expand Down
Loading

0 comments on commit 76e6a4d

Please sign in to comment.