fix: load api-key from secrets
This commit is contained in:
parent
17c9963c0f
commit
59283fff6d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -15,7 +15,7 @@ IMG ?= ubuntu-24.04
|
|||
USER ?= admin
|
||||
|
||||
# Decrypt Hetzner token at runtime (requires SOPS_AGE_KEY or keys.txt locally)
|
||||
HCLOUD_TOKEN := $(shell sops -d --extract '["ops"]["hcloud_token"]' inventory/group_vars/secrets.sops.yaml 2>/dev/null)
|
||||
HCLOUD_TOKEN := $(shell sops -d --extract '["hetzner"]["token"]' secrets/hetzner-token.sops.yaml 2>/dev/null)
|
||||
|
||||
# ---- Help ----
|
||||
help: ## Show this help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue