fix: incorrect jwk import order
Closes
@@ -114,7 +114,7 @@ the imported keys will be added to that set. Otherwise, a new set will be create
failed := make(map[string]error)
for src, kk := range keys {
for _, k := range kk {
- result, _, err := m.JwkApi.SetJsonWebKey(cmd.Context(), k.Kid, set).JsonWebKey(k).Execute() //nolint:bodyclose
+ result, _, err := m.JwkApi.SetJsonWebKey(cmd.Context(), set, k.Kid).JsonWebKey(k).Execute() //nolint:bodyclose
if err != nil {
failed[src] = cmdx.PrintOpenAPIError(cmd, err)
continue
