Creating a Bitbucket Cloud Configuration Source Provider

Create a configuration source provider in Resource Manager from Bitbucket Cloud.

  • After completing all the prerequisites, follow these steps in the Console to create a configuration source provider from Bitbucket Cloud.
    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Configuration Source Providers.
    2. On the Configuration source providers page, select a compartment.
    3. Click Create configuration source provider.
    4. In the Create configuration source provider panel, enter a name and optional description for the configuration source provider. Avoid entering confidential information.
    5. Select the compartment that you want to create the configuration source provider in.
    6. (Optional) To use a private endpoint, follow these steps:
      1. Click Private endpoint.
      2. Select or create a private endpoint. To select a private endpoint or certificate in a different compartment, click Change Compartment.
      3. Select an SSL certificate.
      For more information about private endpoints for private servers, see Private Git Server.
    7. For Type, select Bitbucket Cloud.
    8. Enter the following values:
      • Server URL: The Bitbucket Cloud service endpoint.
      • Vault: Vault service where the secret is stored.
      • Secret: Secret for authorization.
    9. (Optional) Click Show advanced options and assign tags to the configuration source provider.
      • Tag namespace: To add a defined tag, select an existing namespace. To add a free-from tag, leave the value blank.
      • Tag key: To add a defined tag, select an existing tag key. To add a free-form tag, type the key name that you want.
      • Tag value: Type the tag value that you want.
      • Add tag: Click to add another tag.
    10. Click Create.
    11. To confirm that Resource Manager can access the server URL using the provided authentication information, click the name of the configuration source provider to open the Configuration source provider information page, and then click Validate connection.
  • Use the oci resource-manager configuration-source-provider create-bitbucket-cloud-username-app-password-provider command and required parameters to create a configuration source provider from Bitbucket Cloud.

    oci resource-manager configuration-source-provider create-bitbucket-cloud-username-app-password-provider --api-endpoint <Bitbucket_Cloud_service_endpoint> --secret-id <secret_OCID> -username <username>

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

  • Run the CreateConfigurationSourceProvider operation to create a configuration source provider from Bitbucket Cloud.

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