Askriz Posted April 19, 2018 Report Posted April 19, 2018 Hey guys, I'm using Ansible to deploy some services, and inside the config some variables are encrypted using Ansible Vault. Usually I need to copy-paste the password from Enpass to the terminal when Ansible asks for the password, but it also supports passing a path to an executable file that should print the password to stdout so that it can access for example the system keyring. Since you haven't published any official API documentation on how to talk to the desktop app, I've written a small script that mimics the browser extension's behavior and talks to the desktop app. With this implemented, whenever Ansible needs my password and my database is locked, the usual popup appears. Otherwise, it automatically fetches the password given some specific url. Now, since you have not published any API docs, is it fine to write apps that use the internal API? Do you have any objections as for making my small client public on github? Best 1
computergeek125 Posted May 12, 2019 Report Posted May 12, 2019 On that topic, a general quick query would be great for more than just Ansible. I am also curious about this kind of thing (query vSphere password for automation scripts). If the Devs are OK with this, I'd use it!
Askriz Posted May 12, 2019 Author Report Posted May 12, 2019 (edited) @computergeek125 My script worked with Enpass 5. I haven't fixed it to work with Enpass 6 yet - the communication changed quite a bit. I would also like any of the devs' response here before sharing anything. Edited May 12, 2019 by Askriz
computergeek125 Posted May 12, 2019 Report Posted May 12, 2019 Understood. My message was more so an @ dev "I second an official API" than a code request
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now