From 3c4130acbf795b9afd38a825809c22c7a7522eee Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Tue, 22 Nov 2022 18:11:19 +0200 Subject: [PATCH] remove secrets from source code --- NDB.Infrastructure.PublicIP/Notes.txt | 3 --- NDB.Test.Api/appsettings.json | 3 +-- Notes.txt | 14 +++++++------- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/NDB.Infrastructure.PublicIP/Notes.txt b/NDB.Infrastructure.PublicIP/Notes.txt index 6a134d2..d168f0c 100644 --- a/NDB.Infrastructure.PublicIP/Notes.txt +++ b/NDB.Infrastructure.PublicIP/Notes.txt @@ -7,6 +7,3 @@ APIs: https://api.ipify.org?format=json https://ip.seeip.org/json https://api.myip.com - -- incearca sa faci cu WebClient. Vezi daca e mai bun ca HttpClient. Citeste pe net cum e recomandat sa fie folosite (dispose) -- vezi daca merita facut cu dependency injection. (inregistrare la startup in aplicatia consumator) \ No newline at end of file diff --git a/NDB.Test.Api/appsettings.json b/NDB.Test.Api/appsettings.json index 49bb0c0..4b2b151 100644 --- a/NDB.Test.Api/appsettings.json +++ b/NDB.Test.Api/appsettings.json @@ -1,7 +1,6 @@ { "ConnectionStrings": { - //"DatabaseConnection": "***REMOVED***" - //"DatabaseConnection": "***REMOVED***" + //"DatabaseConnection": "Server=#######;Database=#######;User Id=#######;Password=#######;MultipleActiveResultSets=true" "DatabaseConnection": "Data Source={Workspace}\\NDB_TESTER.db" }, "Logging": { diff --git a/Notes.txt b/Notes.txt index bedf7f8..a452de6 100644 --- a/Notes.txt +++ b/Notes.txt @@ -9,22 +9,22 @@ How to create nuget package from project: 6.2 Ex: dotnet nuget push NDB.Hosting.WindowsService.1.0.0.nupkg -k key -s http://stawebsrv/NuGetServer/nuget ####################################################################################################################################################### -# Key: ***REMOVED*** # +# Key: ****KEY**** # ####################################################################################################################################################### ####################################################################################################################################################### Push packages: -dotnet nuget push NDB.Application.DataContracts.1.0.0.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Application.DataContracts.1.0.0.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Swagger.1.0.4.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Extensions.Swagger.1.0.4.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Security.Authentication.Identity.1.0.7.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Security.Authentication.Identity.1.0.7.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ****KEY**** -s https://toodle.ddns.net/public-nuget-server/nuget ####################################################################################################################################################### \ No newline at end of file