Creating a Bitbucket Cloud Configuration Source Provider
Create a configuration source provider in Resource Manager from Bitbucket Cloud.
Before You Begin
To connect Oracle Cloud Infrastructure Resource Manager to a Bitbucket Cloud repository, you must have Read permissions to the repository. For more information, see Grant repository access to users and groups and Configure project permissions for users and groups.
After completing all the prerequisites, follow these steps in the Console to create a configuration source provider from Bitbucket Cloud. 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.