Updating a Bitbucket Cloud Configuration Source Provider

Update a Bitbucket Cloud configuration source provider in Resource Manager.

Important

In 2025, Atlassian announced the deprecation of app passwords in favor of API tokens for REST API authentication. If any existing Bitbucket Cloud configuration source providers still use app passwords, you must update them to instead use an Atlassian account email address together with an API token. See API tokens.

When you update a configuration source provider, you can also update its tags. For instructions, see Updating a Tag for a Single Resource. For more information about tagging, see Resource Tags.

    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 Bitbucket Cloud service endpoint. Example: https://bitbucket.org/
      • Email: Atlassian account email used with the Bitbucket Cloud API token.
      • Vault: Vault where the secret is stored.
      • Secret: Secret for authorization.
        Note

        The secret contains the Bitbucket Cloud API token, not an app password.
    4. Optionally change the compartment, name, or description.
    5. Select Save changes.
  • Use the oci resource-manager configuration-source-provider update-bitbucket-cloud-email-api-token-provider command and required parameters to update a configuration source provider from Bitbucket Cloud.

    oci resource-manager configuration-source-provider update-bitbucket-cloud-email-api-token-provider --configuration-source-provider-id <configuration_source_provider_OCID> --api-endpoint <Bitbucket_Cloud_service_endpoint> --secret-id <secret_OCID> --email-address <atlassian_account_email>
                            

    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 Bitbucket Cloud.

    For an example of the configSourceProviderType part of the request, see UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails Reference.