Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit a38f666

Browse files
authored
chore: docs: document CODERD_BITBUCKET_CONSUMER_KEY (#1085)
* chore: docs: document CODERD_BITBUCKET_CONSUMER_KEY * lint
1 parent 2b907f3 commit a38f666

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

admin/git.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ response received** error, click **Continue** to ignore it.
100100
For your newly created Application Link, provide the following values as your
101101
**Incoming Authentication** properties:
102102

103-
- **Consumer Key**: `Coder`
103+
- **Consumer Key**: `Coder` (or the value of `CODERD_BITBUCKET_CONSUMER_KEY`)
104104
- **Consumer Name**: `Coder`
105105
- **Public Key**: Your public key (available from the Coder Admin Configuration
106106
page)
@@ -109,3 +109,19 @@ Then, in Coder, provide a **Name** for your app, your **URL**, and, optionally,
109109
a **Description**.
110110

111111
When done, click **Save**.
112+
113+
> 💡 By default, Coder sets the Bitbucket Consumer Key to `Coder`. This can
114+
> cause issues when attempting to link multiple Coder instances to a single
115+
> Bitbucket server. In this case, you can override the Bitbucket Consumer Key by
116+
> setting the environment variable `CODERD_BITBUCKET_CONSUMER_KEY` to a unique
117+
> value for each Coder deployment. Here's an example of how to set this in your
118+
> Helm values:
119+
>
120+
> ```yaml
121+
> coderd:
122+
> [...]
123+
> extraEnvs:
124+
> [...]
125+
> - name: CODERD_BITBUCKET_CONSUMER_KEY
126+
> value: XXX
127+
> ```

0 commit comments

Comments
 (0)