-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1Password Secrets Automation Support
Added a new configuration option, `onepassword.mode`, that can be set to `account` (the default value), `connect` (for 1Password Connect), or `service` (for 1Password Service Accounts). When in `onepassword.mode` is: - `account`: the presence of `OP_SERVICE_ACCOUNT_TOKEN`, `OP_CONNECT_HOST`, and/or `OP_CONNECT_TOKEN` will cause chezmoi to immediately exit; their presence changes the behaviour of the 1Password CLI. - `connect`: the presence of `OP_SERVICE_ACCOUNT_TOKEN` or absences of `OP_CONNECT_HOST` and/or `OP_CONNECT_TOKEN` will cause chezmoi to immediately exit. Additionally, the use of `onepasswordDocument` or passing an `account` parameter will cause immediate exits. - `service`: the absence of `OP_SERVICE_ACCOUNT_TOKEN` or presence of `OP_CONNECT_HOST` and/or `OP_CONNECT_TOKEN` will cause chezmoi to immediately exit. Additionally, passing an `account` parameter will cause immediate exits. In all other ways, the 1Password template functions have not changed. I changed the format of the scripts in the `onepassword*.txtar` files so that there is better parity between the three sets of tests *and* so that there is better / easier to read parity between the Unix and Windows test scripts. Closes: #3498
- Loading branch information
1 parent
df00bf2
commit 6788c54
Showing
13 changed files
with
735 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.