Store sample app's certificate passwords in user secrets.
This commit is contained in:
parent
dc44c1f123
commit
fbd3d9438a
|
|
@ -16,10 +16,8 @@
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="$(AspNetCoreVersion)" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="$(AspNetCoreVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- TODO: restore reference when tools are working on netcoreapp2.0
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="$(AspNetCoreVersion)" />
|
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="$(AspNetCoreVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
-->
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,6 @@
|
||||||
"Certificate": {
|
"Certificate": {
|
||||||
"Source": "File",
|
"Source": "File",
|
||||||
"Path": "testCert.pfx",
|
"Path": "testCert.pfx",
|
||||||
// TODO: remove when dotnet user-secrets is working again
|
|
||||||
"Password": "testPassword"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Add testCert.pfx to the current user's certificate store to enable this scenario.
|
// Add testCert.pfx to the current user's certificate store to enable this scenario.
|
||||||
|
|
@ -48,8 +46,6 @@
|
||||||
"TestCert": {
|
"TestCert": {
|
||||||
"Source": "File",
|
"Source": "File",
|
||||||
"Path": "testCert.pfx",
|
"Path": "testCert.pfx",
|
||||||
// TODO: remove when dotnet user-secrets is working again
|
|
||||||
"Password": "testPassword"
|
|
||||||
},
|
},
|
||||||
// Add testCert.pfx to the current user's certificate store to enable this scenario.
|
// Add testCert.pfx to the current user's certificate store to enable this scenario.
|
||||||
//"TestCertInStore": {
|
//"TestCertInStore": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue