mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 04:48:31 +07:00
21 lines
1006 B
Markdown
21 lines
1006 B
Markdown
---
|
||
metaLinks:
|
||
alternates:
|
||
- >-
|
||
https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/admin/settings/credentials/git
|
||
---
|
||
|
||
# Add Git credentials
|
||
|
||
Git credentials added here will be usable by any admin-level user, though they will not be able to view the actual credentials directly.
|
||
|
||
## Adding your credentials
|
||
|
||
To add your Git credentials, from the [Shared credentials](https://docs.portainer.io/admin/settings/credentials) page click **Add credentials**, then select the **Git** option. 
|
||
|
||
Select either **Basic** or **Token** authorization depending on what your Git repository requires. For example, GitHub uses Basic authorization and Bitbucket uses Token authorization. Then supply a name for your shared credentials, your Git username, and your personal access token. 
|
||
|
||
<figure><img src="../../../.gitbook/assets/Screenshot 2025-09-15 at 9.34.06 AM.png" alt=""><figcaption></figcaption></figure>
|
||
|
||
Once you've entered the relevant details, click **Add credentials** to save the entry.
|