Skip to main content

CredentialMetadata

@forge/monorepo


@forge/monorepo / backend/src / CredentialMetadata

Type Alias: CredentialMetadata

CredentialMetadata = Readonly<Record<string, string>>

Defined in: backend/src/tools/credentials.ts:75

Non-secret vendor identifiers that travel with the credential.

Atlassian's cloud id, WhatsApp's phone number id, Slack's team id — discovered at connection time, needed on every request, and not secrets. They live here rather than in a toolkit's configuration because they are per connection: two tenants using the same toolkit have different ones, which is the same reason the token is not configuration either.