Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to find OAuth consumer keys in bitbucket cloud

Ashwin Velappan P V
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 8, 2023

Hi Team,

Currently I am working on integration between bitbucket cloud and terraform enterprise.

In terraform, in order to add bitbucket VCS provider, OAuth consumer keys are required.
but I am unable to generate OAuth consumer keys from bitbucket cloud. Because it is not showing under workspace settings.

As per the below document link, OAuth token can be generated from under workspace setting in bitbucket cloud, but in my portal it is not showing anything related to OAuth configuration. PFA.

Please help me to generate the OAuth token in bitbucket cloud.bitbucket_workspace_settings.pngKey&secret is required to integrate in terraform enterprise.pngSteps to create OAuth token in bitbucket cloud_1.png


1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2023

Hi @Ashwin Velappan P V and welcome to the community!

The first screenshot you posted is from your Personal Bitbucket settings. This will show you settings related to your Bitbucket account.

A Bitbucket Cloud account can have access to one or multiple workspaces and OAuth consumers are available for workspaces (not an account).

You can follow these steps in order to access the OAuth consumers options:

  1. Select your avatar (Your profile and settings) from the navigation bar at the top of the screen.
  2. Select All workspaces.
  3. For the workspace you want to add a consumer, select Manage under the Actions column
  4. On the sidebar, under Apps and features, select OAuth consumers.
  5. Click the Add consumer button.

Please keep in mind that you need to be an admin of a workspace, in order to be able to view the Manage option and generate an OAuth consumer. Otherwise, an admin of the workspace needs to generate the OAuth consumer.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events