GuidesPublish a policy

How to create policies

Ecosystem policies define roles and permissions that apply to participants within the Ecosystem. For example, participant X can act as an issuer and issue valid credentials of type X, Y and Z. They do so by detailing the credential types assigned to participants in the ecosystem.

To make this information available to consumers, the ecosystem operator must publish the policy.

Publish a policy

Request

Make a request of the following structure to publish the Ecosystem’s policy:

HTTP
POST /v1/ecosystems/{ecosystemId}/policies
  • ecosystemId : Policies are created within a specific ecosystem. Use the ecosystem unique id obtained when you created the ecosystem.

Response

JSON
{
    "id": "782f1885-c7c2-4459-8426-b6d7c111b0b1",
    "policyPublishedAt": "2024-10-22T00:00:00Z"
}
  • id : Unique identifier of this published policy.
  • policyPublishedAt : Indicates policy publication date.

Once created, this policy can be retrieved by ecosystem consumers to embed it into their workflows.

Only active and currently valid participants and IACA certificates are included in the policy.