Last active
July 12, 2022 12:43
-
-
Save xavierdecoster/3205826 to your computer and use it in GitHub Desktop.
Revisions
-
xavierdecoster revised this gist
Jun 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,5 +23,5 @@ To be able to share credentials, use the -StorePasswordInClearText option: ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget sources add|update -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] -StorePasswordInClearText ``` -
xavierdecoster revised this gist
May 25, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,14 +5,14 @@ Run this from a commandline where you have access to nuget.exe (or set the path ``` nuget setapikey [apikey] -source [feedUrl] nuget sources add|update -Name [name] -source [feedUrl] -User [username] -pass [password] ``` ### Store credentials in specific nuget.config (non-transferable) ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget sources add|update -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] ``` ### Store credentials in specific nuget.config (transferable) @@ -23,5 +23,5 @@ To be able to share credentials, use the -StorePasswordInClearText option: ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget add|update -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] -StorePasswordInClearText ``` -
Xavier Decoster revised this gist
Jan 25, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,6 @@ Don't bother putting the above nuget.config files into source control as they'll To be able to share credentials, use the -StorePasswordInClearText option: ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] -StorePasswordInClearText ``` -
Xavier Decoster revised this gist
Jan 25, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,21 +1,21 @@ Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable). ### Store credentials in machine-level nuget.config (non-transferable) ``` nuget setapikey [apikey] -source [feedUrl] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] ``` ### Store credentials in specific nuget.config (non-transferable) ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] ``` ### Store credentials in specific nuget.config (transferable) Don't bother putting the above nuget.config files into source control as they'll only work on the machine and the account that created the configs. -
Xavier Decoster renamed this gist
Jan 25, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Xavier Decoster revised this gist
Jan 25, 2014 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,27 @@ Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable). # Store credentials in machine-level nuget.config (non-transferable) ``` nuget setapikey [apikey] -source [feedUrl] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] ``` # Store credentials in specific nuget.config (non-transferable) ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] ``` # Store credentials in specific nuget.config (transferable) Don't bother putting the above nuget.config files into source control as they'll only work on the machine and the account that created the configs. To be able to share credentials, use the -StorePasswordInClearText option: ``` nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] -StorePasswordInClearText nuget add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] -StorePasswordInClearText ``` -
Xavier Decoster revised this gist
Jan 25, 2014 . 1 changed file with 14 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,19 @@ # Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. # Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable). nuget setapikey [apikey] -source [feedUrl] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] # This at least ensures that this authentication information for your feed is stored in your machine-level nuget.config. # Optionally, you can target a different nuget.config file using the -ConfigFile option. nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] nuget sources add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] # Note: the above will encrypt your credentials using machine specific info. # Don't bother putting these into source control as it'll only work on the machine and the account that created the configs. # To be able to share credentials, use the -StorePasswordInClearText option: nuget setapikey [apikey] -source [feedUrl] -configFile [configFilePath] -StorePasswordInClearText nuget add -Name [name] -source [feedUrl] -User [username] -pass [password] -configFile [configFilePath] -StorePasswordInClearText -
xavierdecoster revised this gist
Oct 28, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. # Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable). nuget sources add -name [name] -source [feedUrl] nuget setapikey [apikey] -source [feedUrl] nuget sources update -Name [name] -User [username] -pass [password] # This at least ensures that this authentication information for your feed is stored in your machine-level nuget.config. -
xavierdecoster renamed this gist
Oct 28, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Xavier Decoster created this gist
Jul 30, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable). nuget sources add -name [name] -source [feedUrl] nuget setapikey [apikey] -source [feedUrl] nuget sources update -Name [name] -User [username] -pass [password] This at least ensures that this authentication information for your feed is stored in your machine-level nuget.config.