From 4144ee0d3da10fbfef4d081aa72529f2e513f8e2 Mon Sep 17 00:00:00 2001 From: Hridoy Roy Date: Fri, 15 Jan 2021 12:20:32 -0800 Subject: [PATCH] allow create to create transit keys (#10706) * allow create to create transit keys * changelog --- builtin/logical/transit/path_keys.go | 1 + changelog/10706.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog/10706.txt diff --git a/builtin/logical/transit/path_keys.go b/builtin/logical/transit/path_keys.go index 18300c7dc2..164bb95da7 100644 --- a/builtin/logical/transit/path_keys.go +++ b/builtin/logical/transit/path_keys.go @@ -99,6 +99,7 @@ return the public key for the given context.`, Callbacks: map[logical.Operation]framework.OperationFunc{ logical.UpdateOperation: b.pathPolicyWrite, + logical.CreateOperation: b.pathPolicyWrite, logical.DeleteOperation: b.pathPolicyDelete, logical.ReadOperation: b.pathPolicyRead, }, diff --git a/changelog/10706.txt b/changelog/10706.txt new file mode 100644 index 0000000000..d43197997f --- /dev/null +++ b/changelog/10706.txt @@ -0,0 +1,3 @@ +```release-note:bug +transit: Allow create capability in policies to create transit keys +``` \ No newline at end of file