Skip to content

Commit

Permalink
consistent shorthand for cached KAS public key on update
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Nov 20, 2024
1 parent 8b371ff commit 8fa4c2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/man/policy/kas-registry/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion e2e/kas-registry.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit 8fa4c2d

Please sign in to comment.