-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
onepassword lookup with service account #6635
Comments
Files identified in the description: If these files are incorrect, please update the |
I would also like this feature and can help with a contribution. |
Support for service accounts should be added to the existing |
Hey @samdoran added the service_account_token. Works everything fine. Please review and feel free to change or improve the PR. Thanks! |
I was looking at using service accounts for my Ansible playbook since I need an initial sign in and don't want to use my master password with unrestricted read/write access to all vaults for security reasons, so I tried out @Domi-cc's fork directly instead of waiting for the 7.1.0 release by installing it via:
And I can confirm that it works as expected. Had just to pass my generated token with the |
This is indeed a much better way to do things than passing around the master password. I'm glad service account tokens are a thing now. |
Summary
1password has new service accounts. via lookup should be possible to get secrets.
we can offer to contribute, but want to know, do you want a new lookup file for that, or should we try to expand: plugins/lookup/onepassword.py ?
Issue Type
Feature Idea
Component Name
lookup onepassword
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: