From 7045a630996e08c18beb7c3d39e1b2752c8a4ba4 Mon Sep 17 00:00:00 2001 From: Aria Date: Sun, 1 Oct 2023 22:55:08 +0100 Subject: a working version with only changing passwords --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c71d776..b8c983b 100644 --- a/Makefile +++ b/Makefile @@ -20,13 +20,13 @@ build: start: vault server -dev -log-level=debug -dev-root-token-id=root -dev-plugin-dir=./vault/plugins -integration-test: enable test-config test-role test-rotate test-cred +integration-test: enable test-config test-role test-cred enable: vault secrets enable -path=krb vault-plugin-kerberos-secrets test-config: - vault write krb/config realm=TARDISPROJECT.UK kdc=localhost:88 admin_server=localhost:749 kpasswd_server=localhost:749 username=tcmal password=1234 + vault write krb/config realm=TARDISPROJECT.UK kdc=localhost:88 kpasswd_server=localhost:464 username=test/admin password=1234 test-role: vault write krb/static-role/test principal=test @@ -34,6 +34,9 @@ test-role: test-rotate: vault write -f krb/rotate-static-role/test +test-rotate-root: + vault write -f krb/rotate-root + test-cred: vault read krb/static-cred/test -- cgit v1.2.3