You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
need documentation on backup/restore operation of the vaults #65
There is currently no way to securely and automatically backup and restore the store content, but it is something we can look at as a future enhancement.
For now you would have to write our own backup/restore using the SecretManagement 'Get-SecretInfo','Get-Secret' cmdlets, to loop through and obtain the secrets and then store in a secure location such as Azure KeyVault.
This is crucial requirement for multiple use cases
Backup secrets (so its not lost when system is rebuilt)
Move or clone secrets from one machine to another
Migrate from SecretStore to AzureVault (or any other extension)
I have written a simple module to address these use cases. But would prefer if it gets implemented with official module. Also, I believe this should be SecretManagement module feature rather than SecretStore Extension.
Activity
SydneyhSmith commentedon May 10, 2021
Thanks Emre Guclu (@emrgcl) there is some information on the file path here: https://github.com/PowerShell/SecretStore/blob/master/Docs/ARCHITECTURE.md#files
PaulHigin commentedon May 13, 2021
There is currently no way to securely and automatically backup and restore the store content, but it is something we can look at as a future enhancement.
For now you would have to write our own backup/restore using the SecretManagement 'Get-SecretInfo','Get-Secret' cmdlets, to loop through and obtain the secrets and then store in a secure location such as Azure KeyVault.
belibug commentedon Jun 21, 2024
This is crucial requirement for multiple use cases
I have written a simple module to address these use cases. But would prefer if it gets implemented with official module. Also, I believe this should be SecretManagement module feature rather than SecretStore Extension.
Module Link : PSGallery - SecretBackup
Source code for module here - Github - SecretBackup