You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/bitbucket-development.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ Additionally Bitbucket supports App-specific passwords which can be used via Bas
7
7
To enhance security Bitbucket offers optional Two-Factor Authentication (2FA). When 2FA is enabled username/password Basic Auth access to the REST APIs and to Git repositories is suspended.
8
8
At that point users are left with the choice of username/apps-specific-password Basic Auth for REST APIs and Git interactions, OAuth for REST APIs and Git/Hg interactions or SSH for Git/HG interactions and one of the previous choices for REST APIs.
9
9
SSH and REST API access are beyond the scope of this document.
10
-
Read about [Bitbucket's 2FA implementation][].
10
+
Read about [Bitbucket's 2FA implementation][2fa-impl].
11
11
12
12
App-specific passwords are not particularly user friendly as once created Bitbucket hides their value, even from the owner.
13
13
They are intended for use within application that talk to Bitbucket where application can remember and use the app-specific-password.
14
-
[Additional information][].
14
+
[Additional information][additional-info].
15
15
16
16
OAuth is the intended authentication method for user interactions with HTTPS remote URL for Git repositories when 2FA is active.
17
17
Essentially once a client application has an OAuth access token it can be used in place of a user's password.
18
-
Read more about information [Bitbucket's OAuth implementation][].
18
+
Read more about information [Bitbucket's OAuth implementation][oauth-impl].
19
19
20
20
Bitbucket's OAuth implementation follows the standard specifications for OAuth 2.0, which is out of scope for this document.
21
21
However it implements a comparatively rare part of OAuth 2.0 Refresh Tokens.
@@ -30,7 +30,7 @@ This is explained in more detail below.
30
30
31
31
## Multiple User Accounts
32
32
33
-
Unlike the GitHub implementation within the Git Credential Manager, the Bitbucket implementation stores 'secrets', passwords, app-specific passwords, or OAuth tokens, with usernames in the [Windows Credential Manager][] vault.
33
+
Unlike the GitHub implementation within the Git Credential Manager, the Bitbucket implementation stores 'secrets', passwords, app-specific passwords, or OAuth tokens, with usernames in the [Windows Credential Manager][wincred-manager] vault.
34
34
35
35
Depending on the circumstances this means either saving an explicit username in to the Windows Credential Manager/Vault or including the username in the URL used as the identifying key of entries in the Windows Credential Manager vault, i.e. using a key such as `git:https://[email protected]/` rather than `git:https://bitbucket.org`.
36
36
This means that the Bitbucket implementation in the GCM can support multiple accounts, and usernames, for a single user against Bitbucket, e.g. a personal account and a work account.
@@ -81,10 +81,10 @@ This will download and run a standalone instance of Bitbucket Server which can b
81
81
82
82
Atlassian has [documentation][] on how to download and install their SDK.
Copy file name to clipboardExpand all lines: docs/configuration.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Configuration options
2
2
3
-
[Git Credential Manager][] works out of the box for most users.
3
+
[Git Credential Manager][usage] works out of the box for most users.
4
4
5
5
Git Credential Manager (GCM) can be configured using Git's configuration files, and follows all of the same rules Git does when consuming the files.
6
6
@@ -9,7 +9,7 @@ Global configuration settings override system configuration settings, and local
9
9
GCM honors several levels of settings, in addition to the standard local \> global \> system tiering Git uses.
10
10
URL-specific settings or overrides can be applied to any value in the `credential` namespace with the syntax below.
11
11
12
-
Additionally, GCM respects several GCM-specific [environment variables][]**which take precedence over configuration options**. System administrators may also configure [default values][] for many settings used by GCM.
12
+
Additionally, GCM respects several GCM-specific [environment variables][envars]**which take precedence over configuration options**. System administrators may also configure [default values][enterprise-config] for many settings used by GCM.
13
13
14
14
GCM will only be used by Git if it is installed and configured. Use `git config --global credential.helper manager-core` to assign GCM as your credential helper. Use `git config credential.helper` to see the current configuration.
15
15
@@ -60,7 +60,7 @@ Define the host provider to use when authenticating.
`wincredman`|Windows Credential Manager (not available over SSH).|Windows
325
325
`dpapi`|DPAPI protected files. Customize the DPAPI store location with [credential.dpapiStorePath][]|Windows
326
326
`keychain`|macOS Keychain.|macOS
327
-
`secretservice`|[freedesktop.org Secret Service API][] via [libsecret][] (requires a graphical interface to unlock secret collections).|Linux
328
-
`gpg`|Use GPG to store encrypted files that are compatible with the [`pass` utility][] (requires GPG and `pass` to initialize the store).|macOS, Linux
329
-
`cache`|Git's built-in [credential cache][].|Windows, macOS, Linux
327
+
`secretservice`|[freedesktop.org Secret Service API][freedesktop-ss] via [libsecret][] (requires a graphical interface to unlock secret collections).|Linux
328
+
`gpg`|Use GPG to store encrypted files that are compatible with the [pass][] (requires GPG and `pass` to initialize the store).|macOS, Linux
329
+
`cache`|Git's built-in [credential cache][credential-cache].|Windows, macOS, Linux
330
330
`plaintext`|Store credentials in plaintext files (**UNSECURE**). Customize the plaintext store location with [`credential.plaintextStorePath`][].|Windows, macOS, Linux
331
331
332
332
#### Example
@@ -426,7 +426,7 @@ Use the operating system account manager where available.
426
426
427
427
Defaults to `false`. This default is subject to change in the future.
428
428
429
-
_**Note:** before you enable this option on Windows, please review the [Windows Broker][] details for what this means to your local Windows user account._
429
+
_**Note:** before you enable this option on Windows, please review the [Windows Broker][wam] details for what this means to your local Windows user account._
Tells Git to pass the entire repository URL, rather than just the hostname, when calling out to a credential provider. (This setting [comes from Git itself][], not GCM.)
448
+
Tells Git to pass the entire repository URL, rather than just the hostname, when calling out to a credential provider. (This setting [comes from Git itself][use-http-path], not GCM.)
449
449
450
450
Defaults to `false`.
451
451
@@ -519,7 +519,7 @@ Value|Description
519
519
`pat`_(default)_|Azure DevOps personal access tokens
520
520
`oauth`|Microsoft identity OAuth tokens (AAD or MSA tokens)
521
521
522
-
Here is more information about [Azure Access tokens][].
522
+
Here is more information about [Azure Access tokens][azure-tokens].
0 commit comments