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

[PR #9580/25a262bd backport][stable-10] Create onepassword_ssh_key plugin #9632

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jan 26, 2025

This is a backport of PR #9580 as merged into main (25a262b).

SUMMARY

FIxes: #7417

ISSUE TYPE
  • New Module/Plugin Pull Request
COMPONENT NAME

Added a new plugin onepassword_ssh_key to fetch private keys stored in onepassword in both SSH format and PKCS#8 format.

* add 1password_ssh_key lookup

* refactor

* Delete onepassword_ssh_key.py

* Revert "Delete onepassword_ssh_key.py"

This reverts commit e17ff7e.

* Delete onepassword_ssh_key.py

* add tests

* add test license

* cleanup

* refactor

* Apply suggestions from code review

Co-authored-by: Felix Fontein <[email protected]>

* fix indentation

* fix RETURN indentation

* use get_option to get ssh_format

* linting

* update project year in copyright

* add plugin to BOTMETA.yml

* use OnePassCLIv2's get_raw and use OnePass's token

---------

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 25a262b)
@felixfontein felixfontein merged commit 04b68c2 into stable-10 Jan 26, 2025
138 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-10/25a262bdcf76775c8156627e5ab026d73e745b02/pr-9580 branch January 26, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants