@request_user_has_permission(permission_type=PermissionType.API_KEY_LIST)
    @jsexpose(arg_types=[str])
    def get_all(self, **kw):

        api_key_dbs = ApiKey.get_all(**kw)
        api_keys = [ApiKeyAPI.from_model(api_key_db, mask_secrets=True)
                    for api_key_db in api_key_dbs]

        return api_keys
List all keys.
dataset/ETHPy150Open StackStorm/st2/st2api/st2api/controllers/v1/auth.py/ApiKeyController.get_all