Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdhunt/SecretManagement.1Password
This is a SecretManagement extension for 1Password.
https://github.com/cdhunt/SecretManagement.1Password
Last synced: 3 months ago
JSON representation
This is a SecretManagement extension for 1Password.
- Host: GitHub
- URL: https://github.com/cdhunt/SecretManagement.1Password
- Owner: cdhunt
- License: mit
- Created: 2020-11-17T18:15:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T13:14:36.000Z (about 2 years ago)
- Last Synced: 2024-06-18T01:33:08.341Z (5 months ago)
- Language: PowerShell
- Size: 40 KB
- Stars: 22
- Watchers: 6
- Forks: 12
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SecretManagement extension for 1Password
This is a
[SecretManagement](https://github.com/PowerShell/SecretManagement)
extension for
[1Password](https://1password.com/).
It leverages the [`1password-cli`](https://support.1password.com/command-line/)
to interact with 1Password.## Prerequisites
* [PowerShell](https://github.com/PowerShell/PowerShell)
* The [`1password-cli`](https://support.1password.com/command-line/) and accessible from Path
* The [SecretManagement](https://github.com/PowerShell/SecretManagement) PowerShell moduleYou can get the `SecretManagement` module from the PowerShell Gallery:
Using PowerShellGet v2:
```pwsh
Install-Module Microsoft.PowerShell.SecretManagement -AllowPrerelease
```Using PowerShellGet v3:
```pwsh
Install-PSResource Microsoft.PowerShell.SecretManagement -Prerelease
```
## InstallationYou an install this module from the PowerShell Gallery:
Using PowerShellGet v2:
```pwsh
Install-Module SecretManagement.1Password
```Using PowerShellGet v3:
```pwsh
Install-PSResource SecretManagement.1Password
```## Registration
Once you have it installed,
you need to register the module as an extension:```pwsh
Register-SecretVault -Name vaultname -ModuleName SecretManagement.1Password -VaultParameters @{AccountName = 'myaccountname'; EmailAddress = '[email protected]'; SecretKey = 'secretkey-for-your-account'}
```**Note**: The name you provide the `Name` parameter needs to match an existing vault in 1Password.
If you want to access more than oen 1Password vault you need to register them separately with `Register-SecretVault`### Vault parameters
The module also has the following vault parameter that must be provided at registration.
#### AccountName
Your 1Password account name.
```
https://myaccountname.1password.com/
^^^^^^^^^^^^^
```#### EmailAddress
The email address you use to log into 1Password.
#### SecretKey
The SecretKey for your 1Password vault.
[Find your Secret Key or Setup Code](https://support.1password.com/secret-key/)