Skip to main content

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;
};