gopass dedicated user

main
Ricard Illa 2022-09-23 09:36:36 +02:00
parent ce19ab550f
commit 5a142cda80
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ DOMAIN_ID = $(STATE_DIR)/domain_id.txt
RECORD_ID = $(STATE_DIR)/record_id.txt RECORD_ID = $(STATE_DIR)/record_id.txt
UPDATE_RECORD = $(STATE_DIR)/updated_record UPDATE_RECORD = $(STATE_DIR)/updated_record
LINODE_TOKEN = $(shell gopass linode.com/token) GOPASS=shell doas -u gopass gopass
LINODE_TOKEN = $($(GOPASS) linode.com/token)
CURL = curl --silent CURL = curl --silent
AUTH_CURL = $(CURL) -H "Authorization: Bearer $(LINODE_TOKEN)" AUTH_CURL = $(CURL) -H "Authorization: Bearer $(LINODE_TOKEN)"