move password to env
This commit is contained in:
parent
8c3c95c9a5
commit
b816b1d172
@ -19,8 +19,8 @@ namespace ELT.Client.Kasko
|
||||
{
|
||||
var authInfo = new AuthInfo
|
||||
{
|
||||
Login = "dmitrienko",
|
||||
Password = "12345"
|
||||
Login = Environment.GetEnvironmentVariable("eltLogin"),
|
||||
Password = Environment.GetEnvironmentVariable("eltPassword")
|
||||
};
|
||||
var eltParams = calculateKaskoRequest.ELTParams;
|
||||
|
||||
|
||||
@ -11,24 +11,29 @@
|
||||
"profiles": {
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "weatherforecast",
|
||||
"launchBrowser": false,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"eltPassword": "12345",
|
||||
"eltLogin": "dmitrienko"
|
||||
}
|
||||
},
|
||||
"ELT": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "weatherforecast",
|
||||
"launchBrowser": false,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"eltPassword": "12345",
|
||||
"eltLogin": "dmitrienko"
|
||||
},
|
||||
"applicationUrl": "http://localhost:5000"
|
||||
},
|
||||
"Docker": {
|
||||
"commandName": "Docker",
|
||||
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/weatherforecast",
|
||||
"environmentVariables": {
|
||||
"eltPassword": "12345",
|
||||
"eltLogin": "dmitrienko"
|
||||
},
|
||||
"publishAllPorts": true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user