KEY-WP-0045: value-safe identity-facts export for NK-WP-0054-T04
Some checks failed
Authentication acceptance / acceptance (push) Failing after 1m12s
Authentication acceptance / provider-contract (push) Successful in 23s
Build and Publish Container Image / build-and-push (push) Successful in 40s

keycape identity-facts --config PATH and make identity-facts print client
registry, directory bind and admin-surface facts without credential values or
secret reference names. Fixture and committed-config tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 308701@bnt-lap001
Assistant-Session: 5548e447-444c-4dcc-bed1-05c16eebfe56
This commit is contained in:
tegwick 2026-10-28 09:50:54 +01:00
parent 1af86580e3
commit a1ab8ff807
7 changed files with 433 additions and 1 deletions

View file

@ -3,7 +3,7 @@ IMAGE_REPO ?= coulomb/key-cape
IMAGE_TAG ?= latest
IMAGE := $(IMAGE_REGISTRY)/$(IMAGE_REPO):$(IMAGE_TAG)
.PHONY: dev seed build test lint contract-test image push image-tag tokenstatus-export tokenstatus-check
.PHONY: dev seed build test lint contract-test image push image-tag tokenstatus-export tokenstatus-check identity-facts
PLAYBOOK_VALIDATOR ?= ../net-kingdom/tools/playbook-capability-contract/playbook_contract_validator.py
@ -25,6 +25,11 @@ tokenstatus-export:
tokenstatus-check:
python3 tools/export_tokenstatus_client.py --check
# KEY-WP-0045: value-safe identity facts for NetKingdom's service-identity check.
IDENTITY_CONFIG ?= config/service-clients.example.yaml
identity-facts:
@cd src && go run ./cmd/keycape identity-facts --config $(abspath $(IDENTITY_CONFIG))
lint:
cd src && go vet ./...