get_vc
Issue a signed Verifiable Credential for a subject DID to attest or grant specific permissions. The credential is stored and returned.
Instructions
Issue a Verifiable Credential for a subject DID and store it.
Parameters:
subjectID: the DID of the subject the credential is about
(as minted by get_did).
content: what the credential attests/grants, e.g. "callTools".
keyType: recorded as the proof's cryptosuite value, e.g. "Ed25519".
signType: signature scheme, e.g. "asy";
(reserved; only asymmetric (Ed25519) signing is performed,
so this value is not currently used.)
usage: intended use of the credential, e.g. "authorization".
The credential is signed by the server's issuer key over a canonical
serialization (sorted-key compact JSON with proof="").
Returns the stored Verifiable Credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | Yes | ||
| content | Yes | ||
| keyType | Yes | ||
| signType | Yes | ||
| subjectID | Yes |