From bb7bacc56f186269ba6d34fd24262fea273d23c0 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 9 Jun 2022 14:56:25 -0700 Subject: [PATCH] Island: Remove AWS config options --- monkey/monkey_island/cc/services/config.py | 4 ---- .../cc/services/config_schema/internal.py | 14 -------------- 2 files changed, 18 deletions(-) diff --git a/monkey/monkey_island/cc/services/config.py b/monkey/monkey_island/cc/services/config.py index afc4742ba..ee4feea90 100644 --- a/monkey/monkey_island/cc/services/config.py +++ b/monkey/monkey_island/cc/services/config.py @@ -9,7 +9,6 @@ from typing import Any, Dict, List from jsonschema import Draft4Validator, validators from common.config_value_paths import ( - AWS_KEYS_PATH, EXPORT_MONKEY_TELEMS_PATH, LM_HASH_LIST_PATH, NTLM_HASH_LIST_PATH, @@ -42,9 +41,6 @@ ENCRYPTED_CONFIG_VALUES = [ LM_HASH_LIST_PATH, NTLM_HASH_LIST_PATH, SSH_KEYS_PATH, - AWS_KEYS_PATH + ["aws_access_key_id"], - AWS_KEYS_PATH + ["aws_secret_access_key"], - AWS_KEYS_PATH + ["aws_session_token"], ] SENSITIVE_SSH_KEY_FIELDS = [ diff --git a/monkey/monkey_island/cc/services/config_schema/internal.py b/monkey/monkey_island/cc/services/config_schema/internal.py index 906f7520f..e16a124b8 100644 --- a/monkey/monkey_island/cc/services/config_schema/internal.py +++ b/monkey/monkey_island/cc/services/config_schema/internal.py @@ -15,20 +15,6 @@ INTERNAL = { }, }, }, - "monkey": { - "title": "Monkey", - "type": "object", - "properties": { - "aws_keys": { - "type": "object", - "properties": { - "aws_access_key_id": {"type": "string", "default": ""}, - "aws_secret_access_key": {"type": "string", "default": ""}, - "aws_session_token": {"type": "string", "default": ""}, - }, - }, - }, - }, "island_server": { "title": "Island server", "type": "object",