Skip to content

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

@IshamMohamed

Description

@IshamMohamed

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<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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions