We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a881762 commit f8282a2Copy full SHA for f8282a2
st2api/st2api/controllers/v1/keyvalue.py
@@ -242,7 +242,7 @@ def get_all(
242
kvp_apis_system.extend(items.json or [])
243
if decrypt and items.json:
244
decrypted_keys.extend(
245
- kv_api.name for kv_api in items.json if kv_api["secret"]
+ kv_api["name"] for kv_api in items.json if kv_api["secret"]
246
)
247
else:
248
# Otherwise if user is not an admin, then get the list of
@@ -291,7 +291,7 @@ def get_all(
291
kvp_apis_user.extend(items.json)
292
293
decrypted_keys = [
294
- kvp_api.name for kvp_api in items.json if kvp_api["secret"]
+ kvp_api["name"] for kvp_api in items.json if kvp_api["secret"]
295
]
296
if decrypted_keys:
297
LOG.audit(
0 commit comments