Azure-Samples / Azure-Samples/DoubleKeyEncryptionService

Deploying to production - What should be injected for ippw.IKeyStore

Open
#26 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
16
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The below lines are mentioned at the Startup.cs
```
#if USE_TEST_KEYS
#error !!!!!!!!!!!!!!!!!!!!!! Use of test keys is only supported for testing,
DO NOT USE FOR PRODUCTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
services.AddSingleton();
#endif
```
And we just remove those lines except ` services.AddSingleton();` 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.