GitLab API

GitlabTool

Actions905

Overview

This node operation updates the Google Cloud Platform Workload Identity Federation integration for a specific GitLab project. It is useful for managing and configuring workload identity federation settings within GitLab projects, enabling secure and streamlined authentication between GitLab and Google Cloud Platform services. For example, a DevOps engineer might use this node to automate the update of workload identity federation settings as part of a CI/CD pipeline.

Use Case Examples

  1. Updating the workload identity federation integration for a project to enable secure access to Google Cloud resources.
  2. Automating the configuration of Google Cloud Platform integrations across multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use for the API request, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Parameter Schema Defines the required path and body parameters for the API request, including the project ID and the workload identity federation configuration.
Request Body Schema Schema for the request body payload, defining the structure of the workload identity federation settings to update.
Request Path The API endpoint path for updating the workload identity federation integration on a project.
Path Parameters Collection of path parameters, specifically the project ID, required to identify the project for the API request.

Output

JSON

  • response - The JSON response from the GitLab API after updating the workload identity federation integration, containing details of the updated integration.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and the project exists in GitLab.
  • Verify that the GitLab API credentials have sufficient permissions to update project integrations.
  • Check the request body schema to ensure it matches the expected structure for the workload identity federation settings.
  • If skipping authentication, confirm that the API endpoint allows unauthenticated requests, otherwise authentication errors will occur.

Links

Discussion