Skip to content

Feature: print password, and authenticated session #15

@AlexRiedler

Description

@AlexRiedler

It would be awesome if we could have an authenticated session; and print password.

My use case is the following:
my .bashrc file grabs various ENV variables eg. AWS_SECRET_PASSWORD from a tool (such as pws).
something like:

AWS_SECRET_KEY=$(pws get aws_secret_key)

but I also would not want to do if there is plenty of keys

AWS_SECRET_KEY=$(pws get --print aws_secret_key)
FOO_SECRET=$(pws get --print foo_secret)

so having something like:

pws login # prompts for the password (maybe with an auto-log out)

AWS_SECRET_KEY=$(pws get --print aws_secret_key)
FOO_SECRET=$(pws get --print foo_secret)

pws logout

I know this is a lot to ask for, but just throwing up this idea.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions