Skip to main content
Version: Next

createGitlabProjectAccessTokenAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createGitlabProjectAccessTokenAction

Creates a gitlab:projectAccessToken:create Scaffolder action.

Signature:

createGitlabProjectAccessTokenAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
projectId: string | number;
name?: string | undefined;
token?: string | undefined;
scopes?: string[] | undefined;
expiresAt?: string | undefined;
accessLevel?: number | undefined;
}, {
access_token: string;
}>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

Templating configuration.

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; projectId: string | number; name?: string | undefined; token?: string | undefined; scopes?: string[] | undefined; expiresAt?: string | undefined; accessLevel?: number | undefined; }, { access_token: string; }>