From 5993da4c37ef78a050fcdc50f3cee8bd9559a85a Mon Sep 17 00:00:00 2001 From: Pauline Ribeyre <4224001+paulineribeyre@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:39:33 -0600 Subject: [PATCH] remove settings --- .secrets.baseline | 4 ++-- gen3workflow/config-default.yaml | 2 -- gen3workflow/config.py | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.secrets.baseline b/.secrets.baseline index f5f9f7e..cdbbeee 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -169,7 +169,7 @@ "filename": "gen3workflow/config-default.yaml", "hashed_secret": "afc848c316af1a89d49826c5ae9d00ed769415f3", "is_verified": false, - "line_number": 32 + "line_number": 30 } ], "migrations/versions/e1886270d9d2_create_system_key_table.py": [ @@ -209,5 +209,5 @@ } ] }, - "generated_at": "2024-12-16T16:59:25Z" + "generated_at": "2024-12-16T22:39:24Z" } diff --git a/gen3workflow/config-default.yaml b/gen3workflow/config-default.yaml index 0e44127..14d318a 100644 --- a/gen3workflow/config-default.yaml +++ b/gen3workflow/config-default.yaml @@ -12,8 +12,6 @@ ARBORIST_URL: # /!\ only use for development! Allows running gen3workflow locally without Arborist interaction MOCK_AUTH: false -MAX_IAM_KEYS_PER_USER: 2 # the default AWS AccessKeysPerUser quota is 2 -IAM_KEYS_LIFETIME_DAYS: 30 USER_BUCKETS_REGION: us-east-1 # configure an AWS IAM key to use when making S3 requests on behalf of users. If left empty, it diff --git a/gen3workflow/config.py b/gen3workflow/config.py index 4d8cd8f..d6630d5 100644 --- a/gen3workflow/config.py +++ b/gen3workflow/config.py @@ -46,9 +46,6 @@ def validate_top_level_configs(self) -> None: "DOCS_URL_PREFIX": {"type": "string"}, "ARBORIST_URL": {"type": ["string", "null"]}, "MOCK_AUTH": {"type": "boolean"}, - # aws_utils.list_iam_user_keys should be updated to fetch paginated results if >100 - "MAX_IAM_KEYS_PER_USER": {"type": "integer", "maximum": 100}, - "IAM_KEYS_LIFETIME_DAYS": {"type": "integer"}, "USER_BUCKETS_REGION": {"type": "string"}, "S3_ENDPOINTS_AWS_ACCESS_KEY_ID": {"type": ["string", "null"]}, "S3_ENDPOINTS_AWS_SECRET_ACCESS_KEY": {"type": ["string", "null"]},