Feature Request: Password command instead of storing the Bunny API key in a .local folder #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
brindly/barrier#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not a fan of the Bunny API key being stored in a
.localfolder.A password command like Halloy has would be nice…
I’d use that with 1Password (CLI) like this:
Replied in IRC but also here.
.local is already used for temp backups during updates to preserve rules so it made sense. The file itself is acting like a stand alone .env. I can look into better options but the goal is making it so people don't have to keep typing the key, not have to download something else, and in general just not have to do anything special outside of run the command and load the key once and it just remembers it
I understand.
Would you consider storing the key in a “real”
.envfile?Then I can probably use 1Password Environments to persist the key without storing it on disk.
Oh, even that's too complicated. If you can add an extra check for an environment variable I'm good.
Suggestion:
I can then use this to supply the Bunny API key and prevent storing it on disk: