Skip to content

Commit e705182

Browse files
authored
Update cli-ref-setapikey.md (#3266)
1 parent 085a724 commit e705182

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/reference/cli-reference/cli-ref-setapikey.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ ms.topic: reference
99

1010
# setapikey command (NuGet CLI)
1111

12-
**Applies to:** package consumption, publishing • **Supported versions:** all
12+
**Applies to:** publishing • **Supported versions:** all
1313

14-
Saves an API key for a given server URL into `NuGet.Config` so that it doesn't need to be entered for subsequent commands.
14+
Saves an API key for a given server URL into `NuGet.Config` so that it doesn't need to be entered for subsequent push commands.
1515

1616
## Usage
1717

@@ -22,8 +22,10 @@ nuget setapikey <key> -Source <url> [options]
2222
where `<source>` identifies the server and `<key>` is the key to save. If `<source>` is omitted, nuget.org is assumed.
2323

2424
> [!NOTE]
25-
> API key is not used for authenticating with the private feed. Refer to [`nuget sources` command](../cli-reference/cli-ref-sources.md) to manage credentials for authenticating with the source.
26-
> API keys can be obtained from the individual NuGet servers. To create and manage APIKeys for nuget.org refer to [acquire-an-api-key](../../nuget-org/scoped-api-keys.md#acquire-an-api-key)
25+
> API key is not used for authenticating with the private feed.
26+
> Refer to [`nuget sources` command](../cli-reference/cli-ref-sources.md) to manage credentials for authenticating with the source.
27+
> API keys can be obtained from the individual NuGet servers.
28+
> To create and manage APIKeys for nuget.org refer to [acquire-an-api-key](../../nuget-org/scoped-api-keys.md#acquire-an-api-key).
2729
2830
## Options
2931

0 commit comments

Comments
 (0)