Skip to main content
Version: Next

BackstageCredentials

Home > @backstage/backend-plugin-api > BackstageCredentials

An opaque representation of credentials, for example as passed in a request-response flow.

Signature:

export type BackstageCredentials<TPrincipal = unknown> = {
$$type: '@backstage/BackstageCredentials';
expiresAt?: Date;
principal: TPrincipal;
};