Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need documentation on backup/restore operation of the vaults #65

Open
emrgcl opened this issue May 6, 2021 · 3 comments
Open

need documentation on backup/restore operation of the vaults #65

emrgcl opened this issue May 6, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@emrgcl
Copy link

emrgcl commented May 6, 2021

Hi,

Awesome module! IT would be great to add the location of the vault file and how to backup and restore the vault.

Kind Regards,
Emre

@SydneyhSmith
Copy link
Collaborator

Thanks @emrgcl there is some information on the file path here: https://github.com/PowerShell/SecretStore/blob/master/Docs/ARCHITECTURE.md#files

@PaulHigin
Copy link
Contributor

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.

@PaulHigin PaulHigin added the enhancement New feature or request label May 13, 2021
@belibug
Copy link

belibug commented Jun 21, 2024

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.

Module Link : PSGallery - SecretBackup
Source code for module here - Github - SecretBackup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants