Updating a GitHub Configuration Source Provider

Update a GitHub configuration source provider in Resource Manager.

    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Configuration Source Providers.
    2. On the Configuration source providers page, select the compartment that contains the configuration source provider that you want.
    3. Click the name of the configuration source provider that you want.
      The value in the Type column indicates the configuration source provider type.
    4. Click Edit.
    5. 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).
    6. Optionally change the compartment, name, or description.
    7. Click 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.