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: content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -923,7 +923,7 @@ You must provide the required settings for each configuration `type` that you sp
923
923
924
924
### `composer-repository`
925
925
926
-
The `composer-repository` type supports username and password.
926
+
The `composer-repository` type supports username and password. {% data reusables.dependabot.password-definition %}
927
927
928
928
{% raw %}
929
929
@@ -942,7 +942,7 @@ registries:
942
942
943
943
{% data variables.product.prodname_dependabot %} works with any container registries that implement the OCI container registry spec. For more information, see [https://github.com/opencontainers/distribution-spec/blob/main/spec.md](https://github.com/opencontainers/distribution-spec/blob/main/spec.md). {% data variables.product.prodname_dependabot %} supports authentication to private registries via a central token service or HTTP Basic Auth. For further details, see [Token Authentication Specification](https://docs.docker.com/registry/spec/auth/token/) in the Docker documentation and [Basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) on Wikipedia.
944
944
945
-
The `docker-registry` type supports username and password.
945
+
The `docker-registry` type supports username and password. {% data reusables.dependabot.password-definition %}
946
946
{% ifversion dependabot-private-registries %}
947
947
{% raw %}
948
948
@@ -1004,7 +1004,7 @@ registries:
1004
1004
1005
1005
### `git`
1006
1006
1007
-
The `git` type supports username and password.
1007
+
The `git` type supports username and password. {% data reusables.dependabot.password-definition %}
1008
1008
1009
1009
{% raw %}
1010
1010
@@ -1061,18 +1061,18 @@ registries:
1061
1061
1062
1062
### `maven-repository`
1063
1063
1064
-
The `maven-repository` type supports username and password.
1064
+
The `maven-repository` type supports username and password. {% data reusables.dependabot.password-definition %}
The `npm-registry` type supports username and password, or token.
1095
+
The `npm-registry` type supports username and password, or token. {% data reusables.dependabot.password-definition %}
1096
1096
1097
1097
When using username and password, your `.npmrc`'s auth token may contain a `base64` encoded `_password`; however, the password referenced in your {% data variables.product.prodname_dependabot %} configuration file must be the original (unencoded) password.
1098
1098
@@ -1159,7 +1159,7 @@ For security reasons, {% data variables.product.prodname_dependabot %} does not
1159
1159
1160
1160
### `nuget-feed`
1161
1161
1162
-
The `nuget-feed` type supports username and password, or token.
1162
+
The `nuget-feed` type supports username and password, or token. {% data reusables.dependabot.password-definition %}
1163
1163
1164
1164
{% raw %}
1165
1165
@@ -1189,7 +1189,7 @@ registries:
1189
1189
1190
1190
### `python-index`
1191
1191
1192
-
The `python-index` type supports username and password, or token.
1192
+
The `python-index` type supports username and password, or token. {% data reusables.dependabot.password-definition %}
1193
1193
1194
1194
{% raw %}
1195
1195
@@ -1221,7 +1221,7 @@ registries:
1221
1221
1222
1222
### `rubygems-server`
1223
1223
1224
-
The `rubygems-server` type supports username and password, or token.
1224
+
The `rubygems-server` type supports username and password, or token. {% data reusables.dependabot.password-definition %}
Copy file name to clipboardExpand all lines: data/reusables/dependabot/dependabot-updates-registries-options.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ You use the following options to specify access settings. Registry settings must
4
4
|:---|:---|
5
5
|`type`| Identifies the type of registry. See the full list of types below. |
6
6
|`url`| The URL to use to access the dependencies in this registry. The protocol is optional. If not specified, `https://` is assumed. {% data variables.product.prodname_dependabot %} adds or ignores trailing slashes as required. |
7
-
|`username`| The username that {% data variables.product.prodname_dependabot %} uses to access the registry. |
8
-
|`password`| A reference to a {% data variables.product.prodname_dependabot %} secret containing the password for the specified user. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use)." |
7
+
|`username`| The username that {% data variables.product.prodname_dependabot %} uses to access the registry.</br>`username` is the username or email address for the account.|
8
+
|`password`| A reference to a {% data variables.product.prodname_dependabot %} secret containing the password for the specified user. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use)."</br>`password` is the password for the account specified by the username. {% data reusables.dependabot.password-definition %}|
9
9
|`key`| A reference to a {% data variables.product.prodname_dependabot %} secret containing an access key for this registry. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use)." |
10
-
|`token`| A reference to a {% data variables.product.prodname_dependabot %} secret containing an access token for this registry. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use)." |
10
+
|`token`| A reference to a {% data variables.product.prodname_dependabot %} secret containing an access token for this registry. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use)."</br>`token` is used to provide an access token for an external system and should not be used to provide a {% data variables.product.prodname_dotcom %} {% data variables.product.pat_generic %}. If you want to use a {% data variables.product.prodname_dotcom %} {% data variables.product.pat_generic %}, you should supply it as a password.|
11
11
|`replaces-base`| For registries{% ifversion dependabot-private-registries %}, if the boolean value is `true`, {% data variables.product.prodname_dependabot %} will resolve dependencies by using the specified URL rather than the base URL of that specific ecosystem. For example, for registries{% endif %} with `type: python-index`, if the boolean value is `true`, pip resolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default `https://pypi.org/simple`). |
If the account is a {% data variables.product.prodname_dotcom %} account, you can use a {% data variables.product.prodname_dotcom %} {% data variables.product.pat_generic %} in place of the password.
0 commit comments