Skip to content

Commit 91095ba

Browse files
Document --allow-insecure-connections option (#41894)
1 parent b0a7479 commit 91095ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/core/tools/dotnet-nuget-add-source.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.date: 03/20/2020
1616
```dotnetcli
1717
dotnet nuget add source <PACKAGE_SOURCE_PATH> [--name <SOURCE_NAME>] [--username <USER>]
1818
[--password <PASSWORD>] [--store-password-in-clear-text]
19-
[--valid-authentication-types <TYPES>] [--configfile <FILE>]
19+
[--valid-authentication-types <TYPES>] [--configfile <FILE>] [--allow-insecure-connections]
2020
2121
dotnet nuget add source -h|--help
2222
```
@@ -38,6 +38,10 @@ The `dotnet nuget add source` command adds a new package source to your NuGet co
3838

3939
[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
4040

41+
- **`--allow-insecure-connections`**
42+
43+
Allows HTTP connections for adding or updating packages. This method is not secure.
44+
4145
- **`-n|--name <SOURCE_NAME>`**
4246

4347
Name of the source.

0 commit comments

Comments
 (0)