Skip to content

Add a password_command config option #43

@lucc

Description

@lucc

I am not happy with saving my Hetzner password to disk in plain text. So I was looking for a way to allow hetznerctl to query my password manager but did not see one (I could hack together a shell script that generates a temporary config file and calls hetznerctl, but that is ugly).

Would you be interested to support some kind of integration with password managers? I am interested in coding it.

Ideas

  1. Add a password_cmd config option that can be set instead of password and use it as a shell command that will output the password that will be used. I would implement this option as it is little work and fixes the issue for me. Down side: not very integrated UI, every user who wants to use it has to write a shell command into the config.
  2. Depend on a library like https://github.com/jaraco/keyring, I am not sure which one is the best library for this but this looks like a more integrated solution for end uses (I am not sure if that library supports pass so that might not be a solution for me)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions