#if USE_TEST_KEYS
#error !!!!!!!!!!!!!!!!!!!!!! Use of test keys is only supported for testing,
DO NOT USE FOR PRODUCTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
services.AddSingleton<ippw.IKeyStore, ippw.TestKeyStore>();
#endif
And we just remove those lines except services.AddSingleton<ippw.IKeyStore, ippw.TestKeyStore>(); to test this out. Now to deploy to production, Should we implement our own keystore class which takes the private key from a keyvault with the current setup or what is the production deployment recommendation?
I have the exact same question. Deployment of dke via doc.microsoft.com all working. But I want to use the solution in production. What needs to be changed? Any suggestions or is testkey also safe to use?
The below lines are mentioned at the Startup.cs
And we just remove those lines except
services.AddSingleton<ippw.IKeyStore, ippw.TestKeyStore>();
to test this out. Now to deploy to production, Should we implement our own keystore class which takes the private key from a keyvault with the current setup or what is the production deployment recommendation?