When my Azure App Service Restarts I lose all my Secrets

Product: PowerShell Universal
Version: 3.5.5

When I restart my Azure App Service all my Secrets get wiped out:

Am I missing something? This is making it impossible to test/deploy.

The PSUSecretStore is a local file store using the Microsoft SecretStore module. You have two options:

  1. Configure Azure Key Vault

  2. Wait until our Tuesday release where we have introduced a Database-based secret store. It just AES encrypts the secret and stores them in the database. The key is configurable.

1 Like

@adam I am all-in for the new release!

I am not skilled with SQL but I can certainly can spin up an instance.

Does PSU handle all the heavy lifting with the interactions with the SQL instance?

Same here…

I am looking very much so to testing and database level secrets.