BackstageServicePrincipal
Home > @backstage/backend-plugin-api
> BackstageServicePrincipal
Represents a service principal (for example when an external access method token was given to a request, or the caller was a Backstage backend plugin).
Signature:
export type BackstageServicePrincipal = {
type: 'service';
subject: string;
accessRestrictions?: BackstagePrincipalAccessRestrictions;
};
References: BackstagePrincipalAccessRestrictions