diff --git a/.changelog/12442.txt b/.changelog/12442.txt new file mode 100644 index 0000000000..d9fbc28b28 --- /dev/null +++ b/.changelog/12442.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +agent: Allow client agents to perform keyring operations +``` diff --git a/agent/keyring.go b/agent/keyring.go index c6a91e2b74..506da70f74 100644 --- a/agent/keyring.go +++ b/agent/keyring.go @@ -233,9 +233,6 @@ func decodeStringKey(key string) ([]byte, error) { func (a *Agent) keyringProcess(args *structs.KeyringRequest) (*structs.KeyringResponses, error) { var reply structs.KeyringResponses - if _, ok := a.delegate.(*consul.Server); !ok { - return nil, fmt.Errorf("keyring operations must run against a server node") - } if err := a.RPC("Internal.KeyringOperation", args, &reply); err != nil { return &reply, err }