Skip to main content

AgentCredentials

@mandaitor/sdk


@mandaitor/sdk / AgentCredentials

Interface: AgentCredentials

Defined in: @mandaitor/sdk/dist/executions.d.ts:146

The agent, as it registered: its DID, its key's id, and the private half of that key.

Properties​

did​

did: string

Defined in: @mandaitor/sdk/dist/executions.d.ts:147


keyId​

keyId: string

Defined in: @mandaitor/sdk/dist/executions.d.ts:149

The kid of the agent's active registered key.


privateKey​

privateKey: string | JsonWebKey | CryptoKey

Defined in: @mandaitor/sdk/dist/executions.d.ts:151

ECDSA P-256: a Web Crypto key, a private JWK, or a PKCS #8 PEM.