tiksn / SecretManagement.Keybase

MIT License
0 stars 0 forks source link

How to Setup #24

Open jrdnr opened 3 years ago

jrdnr commented 3 years ago

Maybe this is just something to add to the readme. I'm fairly new to keybase, and am having a little trouble figuring out what the 'namespace' is.

Could you explain how to figure out what the namespace to connect to when setting up the vault. I don't know if this is something that can just be copy and pasted from somewhere in the keybase app or if this is something that would benefit from an example of what the namespace formatting should look like.

thank you

cadayton commented 3 years ago

@jrdnr I to installed this module and it doesn't appear to be working for me either and I do understand the KeyBase KVstore. MS SecretStore module is working fine for me.

I've created a KeyBase BOT in PowerShell for interacting with the KVStore. See https://cadayton.keybase.pub/PSGallery/Modules/BOTtum/BOTtum.html it should help you gain a better understanding of the KeyBase KVstore feature.

jrdnr commented 3 years ago

Interestingly I installed the module and was ale to get it all working with powershell 7, but not 5.1.

I still have no idea what the namespace is or how much it matters, but I just picked a random name for the namespace and it just worked.

cadayton commented 3 years ago

From my experience, Namespace is just a high level qualifier. Think of it as group name and members within that group.

Not working for me on 7.1.2 yet. Submitted an issue on where the error is happening.

I think SecretManagement is only 7 or better.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, March 7, 2021 7:09 PM, jrdnr notifications@github.com wrote:

Interestingly I installed the module and was ale to get it all working with powershell 7, but not 5.1.

I still have no idea what the namespace is or how much it matters, but I just picked a random name for the namespace and it just worked.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

jrdnr commented 3 years ago

@cadayton there was an earlier Secret s Management that was just 7.0+. But they decided it needed to be a core capability in powershell so the release the SecretManagement module with compatibility back to older supported versions. I've used the native vault in 5.x.

tiksn commented 2 years ago

@jrdnr, Minimum PowerShell version is 7.0.0 for this module. Personally, I am not using Windows PowerShell anymore since PS Core came along.

Think about namespace as a folder name. KV Store stores in KV list in separate namespaces. So, for your Vault you should have a unique namespace. As long as it is unique, value does not matter.