fix: load api-key from secrets
This commit is contained in:
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ IMG ?= ubuntu-24.04
|
|||||||
USER ?= admin
|
USER ?= admin
|
||||||
|
|
||||||
# Decrypt Hetzner token at runtime (requires SOPS_AGE_KEY or keys.txt locally)
|
# 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 ----
|
||||||
help: ## Show this help
|
help: ## Show this help
|
||||||
|
|||||||
Reference in New Issue
Block a user