Updating a GitHub Configuration Source Provider

Update a GitHub 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:

        • GitHub Enterprise Cloud: https://github.com/org-name
        • GitHub Enterprise Server: https://hostname/api/v3
        • GitHub Free for Organization: https://github.com/org-name
        • GitHub Free for User Accounts: https://github.com
        • GitHub team: https://github.com/team-name
      • 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-github-access-token-provider command and required parameters to update a configuration source provider from GitHub.

    oci resource-manager configuration-source-provider update-github-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 GitHub.

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