From 8fa4c2d80369598dfd3f0d166fed33cc52c06a31 Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Wed, 20 Nov 2024 10:59:45 -0800 Subject: [PATCH] consistent shorthand for cached KAS public key on update --- docs/man/policy/kas-registry/update.md | 6 +++--- e2e/kas-registry.bats | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/man/policy/kas-registry/update.md b/docs/man/policy/kas-registry/update.md index 39ab6e80..cc64948f 100644 --- a/docs/man/policy/kas-registry/update.md +++ b/docs/man/policy/kas-registry/update.md @@ -13,11 +13,11 @@ command: shorthand: u description: URI of the Key Access Server - name: public-keys - shorthand: p - description: One or more public keys saved for the KAS + shorthand: c + description: One or more 'cached' public keys saved for the KAS - name: public-key-remote shorthand: r - description: URI of the public key of the Key Access Server + description: URI of the 'remote' public key of the Key Access Server - name: name shorthand: n description: Optional name of the registered KAS (must be unique within policy) diff --git a/e2e/kas-registry.bats b/e2e/kas-registry.bats index d29f096a..3d5576ce 100755 --- a/e2e/kas-registry.bats +++ b/e2e/kas-registry.bats @@ -164,7 +164,7 @@ teardown() { ) for NAME in "${BAD_NAMES[@]}"; do - run_otdfctl_kasr update --name "$NAME" -r "$REMOTE_KEY" --id "$ID" + run_otdfctl_kasr update --name "$NAME" -c "$CACHED_KEY" --id "$ID" assert_failure assert_output --partial "Failed to update Registered KAS" assert_output --partial "name: "