CredentialIssuer information. This is a representation of the organization that is issuing the VC,
it requires a primary identifier (a did:web identifier) and a human readable name for the organization, and the optional of including other identifiers such as
tax registration numbers, etc.
The structure of the CredentialIssuer is as follows:
As always, to learn more about Digital Product Passports please refer to the UNTP as the authoritative source:UNTP Digital Product Passports
organization managed on the TrustStack, they are likely to issue many Digital Product Passports and to reduce boilerplate as a developer,
you can create a CredentialIssuer profile for your organization. This profile can be reused for each Digital Product Passport issued by that organization.
Usage
With@truststack/sdk installed and configured, or alternatively, just the @truststack/untp package.
Creating
To create aCredentialIssuer profile, you can use the untp module.
<DID_ID> is the id of the did:web identifier you want to use for the CredentialIssuer profile.
Deleting
To delete aCredentialIssuer profile, you can use the deleteCredentialIssuerProfile method.
<PROFILE_ID> is the id of the CredentialIssuer profile you want to delete.
Retrieving
To retrieve aCredentialIssuer profile, you can use the getCredentialIssuerProfile method.
<PROFILE_ID> is the id of the CredentialIssuer profile you want to retrieve.
Listing
To list allCredentialIssuer profiles, you can use the listCredentialIssuerProfiles method.
page and pageSize are optional parameters to paginate the results.
Learn More
ACredentialIssuerProfile is a concept that is at the intersection of other features such as DID and Digital Product Passports.
For a practical example refer to a guide on managing Organization DPPs