Updating a GitLab Configuration Source Provider

Update a GitLab configuration source provider in Resource Manager.

    1. On the Configuration source providers list page, select the configuration source provider that you want to work with. If you need help finding the list page or the configuration source provider, see Listing Configuration Source Providers.
    2. On the configuration source provider's details page, select Edit.
    3. To change the connection details, in the Edit configuration source provider panel, edit one or more of the following values:
      • To use a different private endpoint, select the endpoint and then select an SSL certificate. This option is available when the configuration source provider was created with a private endpoint.
      • Server URL: The service endpoint.

        Examples:

        • GitLab.com product: https://gitlab.com/
        • GitLab installation (relative URL): https://example.com/gitlab
        • GitLab installation (subdomain): https://gitlab.example.com/
      • Personal access token: Enter the personal access token (PAT).
    4. Optionally change the compartment, name, or description.
    5. Select Save changes.
  • Use the oci resource-manager configuration-source-provider update-gitlab-access-token-provider command and required parameters to update a configuration source provider from GitLab.

    oci resource-manager configuration-source-provider update-gitlab-access-token-provider --configuration-source-provider-id <configuration_source_provider_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.

  • Run the UpdateConfigurationSourceProvider operation to update a configuration source provider that uses GitLab.

    For an example of the configSourceProviderType part of the request, see UpdateGitlabAccessTokenConfigurationSourceProviderDetails.