Feature Request: passphrase in scripts
I'm a fan of our tool.
I have the following use case:
I have several .secret files .secret_user_x that I would share with different users. The .secret_user_x files contain a key and I can share passwords with users (env /PATH/TO/SECRET/FILE/.secret_user_x secret pass common_secret).
The passphrase for these .secret_user_x file is stored in a main .secret file.
I want to use a script to create and query the .secret_user_x files.
So i have the following feature request:
Would it be possible to pass the passphrase via script. I use expect, but I am not a fan of expect. Would it be possible to call something like this:
echo <PASSPHRASE> | env /PATH/TO/SECRET/FILE/.secret_user_x secret show key
or
secret show passphrase_user_A | env /PATH/TO/SECRET/FILE/.secret_user_x secret show key
Hello, glad to hear I'm not the only one using it :)
For your request, I already use stdin to define passwords but I'll see if, with few modifications, I can help for your usecase.
Thank you for the feedback.