-
Notifications
You must be signed in to change notification settings - Fork 23
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
Request: Multiple instances of SecretStore #58
Comments
SecretManagement allows an extension vault to be registered multiple times, because it is possible that an extension vault may support different contexts via the registration So registering |
Ok then. Again, it would help to have this clearer in the documentation. The bottom line is that a user can only have 1 microsoft.powershell.secretstore vault per user scope. That's too bad because I can imagine a situation where I might want 2 stores based on the default Microsoft.PowerShell.SecretStore. Or are you expecting that people will really be using an extension vault like LastPass? |
Thanks @jdhitsolutions I'd love to better understand why a user may want multiple SecretStore instances in a particular user scope, does having secretmetadata help users to organize their secrets in a way that doesnt require a second instance of the store? Agree that we can make this more clear in the SecretStore documentation |
I might want one store with data that is associated with a module or CI/CD project I'm running and a second store for personal items. I might want one group of data to have a longer unlock time and another set to be more secure. A single store means every secret is treated the same and maybe that isn't what I want. |
I have same king of needs with @jdhitsolutions . Also custom or third party modules will benefit if secretstore can be register multiple times with different names and instances. Then custom module can create it's own store for it's secrets. |
Really need this as well. The use case is:
|
I'd like to have multiple |
Sounds like there is a need for multiple store instances. Adding PS-Committee review for visibility. /cc: @SteveL-MSFT, @SydneyhSmith |
Is there a way to create independent, |
@PaulHigin this topic seems to be stale for a while again, but I need exactly the same functionality. So a +1 for this topic from my side. |
+1 would like this feature if possible to implement |
I would also find this feature useful. |
I would also find this feature extremly useful. I totally agree with the uses-cases mentionned before. |
I wanted to create two vaults based on SecretStore, per environment :
But its not enough to be able to have them, they need to be separated when you use |
I don't know if this is a documentation issue or a bug, so I'll ask. I have a vault registered using Microsoft.PowerShell.SecretStore. I then tried to create a second vault.
Get-SecretVault
shows it. I have nothing in the vault but if I runGet-SecretInfo
, I see all the entries from my default vault, even though the vault name shows the new demo vault. Are we limited to one vault per user of a given module? If so, that needs to be clearer in the documentation.The text was updated successfully, but these errors were encountered: