Refer to MOSIP docs.
API documentation is available here.
Durian application has dependency on other MOSIP module services such as partner management service for policy verification and key management service for crypto operations such as signature computation, Encryption etc. Durian application can be configured in the standalone mode where it doesn't depend on the external services to perform the operations. To configure the same, below properties should be used:
- mosip.data.share.standalone.mode.enabled: This property enables application to run in standalone mode. The value for the property should be true.
- mosip.data.share.static-policy.policy-json: This property contains policy JSON which will used as static policy for the data share creation in standalone mode. The property value can be below:
{"typeOfShare":"","transactionsAllowed":"2","shareDomain":"datashare.datashare","encryptionType":"NONE","source":"","validForInMinutes":"30"}
transactionsAllowed attribute value of -1 allows unlimited transaction on the created share.
encryptionType attribute is kept as NONE so that encryption won't be performed and dependency on key manager will not be there. - mosip.data.share.static-policy.policy-id: This property contains the policy id which will be used for creating the data share. This property must match with the {policyId} received in the /create API otherwise error will be thrown.
- mosip.data.share.static-policy.subscriber-id: This property contains the subscriber id which will be used for creating the data share. This property must match with the {subscriberId} received in the /create API otherwise error will be thrown.
- mosip.data.share.signature.disabled: This property enables/disables the signature computation for the created data share. This property value must be true.
Standalone mode enablement is not advisable as part of MOSIP identity platform deployment because it bypasses the policy verification and signature computation for the created data share. It makes difficult to detect the integrity issue and restricts dynamic policy based data share generation.
This project is licensed under the terms of Mozilla Public License 2.0.