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. On the Configuration source providers list page, select Create configuration source provider. If you need help finding the list page or the configuration source provider, see Listing Configuration Source Providers.
    2. In the Create configuration source provider panel, enter a name and optional description for the configuration source provider. Avoid entering confidential information.
    3. Select the compartment that you want to create the configuration source provider in.
    4. (Optional) To use a private endpoint, follow these steps:
      1. Select Private endpoint.
      2. Select or create a private endpoint. To select a private endpoint or certificate in a different compartment, select Change Compartment.
      3. Select an SSL certificate.
      For more information about private endpoints for private servers, see Private Git Server.
    5. For Type, select Bitbucket Cloud.
    6. Enter the following values:
      • Server URL: The Bitbucket Cloud service endpoint.
      • Vault: Vault service where the secret is stored.
      • Secret: Secret for authorization.
    7. (Optional) Select 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.
    8. Select Create.
    9. To confirm that Resource Manager can access the server URL using the provided authentication information, select the configuration source provider to open its details page, and then select 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.