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)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- TODO: restore reference when tools are working on netcoreapp2.0
|
||||
<ItemGroup>
|
||||
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="$(AspNetCoreVersion)" />
|
||||
</ItemGroup>
|
||||
-->
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@
|
|||
"Certificate": {
|
||||
"Source": "File",
|
||||
"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.
|
||||
|
|
@ -48,8 +46,6 @@
|
|||
"TestCert": {
|
||||
"Source": "File",
|
||||
"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.
|
||||
//"TestCertInStore": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue