From ac28df2652a1cc875ab84c755191db30d4f1a242 Mon Sep 17 00:00:00 2001 From: Yaroslava Lukoyanova Date: Mon, 26 Jun 2023 16:48:45 +0300 Subject: [PATCH] Removed --bearer_rules parameter from init s3 credentials due to changes in 1.3 --- src/frostfs_testlib/cli/frostfs_authmate/secret.py | 1 - src/frostfs_testlib/steps/s3/s3_helper.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/frostfs_testlib/cli/frostfs_authmate/secret.py b/src/frostfs_testlib/cli/frostfs_authmate/secret.py index ba5b5f5..5f300bc 100644 --- a/src/frostfs_testlib/cli/frostfs_authmate/secret.py +++ b/src/frostfs_testlib/cli/frostfs_authmate/secret.py @@ -44,7 +44,6 @@ class FrostfsAuthmateSecret(CliCommand): wallet: str, wallet_password: str, peer: str, - bearer_rules: str, gate_public_key: Union[str, list[str]], address: Optional[str] = None, container_id: Optional[str] = None, diff --git a/src/frostfs_testlib/steps/s3/s3_helper.py b/src/frostfs_testlib/steps/s3/s3_helper.py index d6c2095..ae27124 100644 --- a/src/frostfs_testlib/steps/s3/s3_helper.py +++ b/src/frostfs_testlib/steps/s3/s3_helper.py @@ -189,7 +189,6 @@ def init_s3_credentials( wallet: WalletInfo, shell: Shell, cluster: Cluster, - s3_bearer_rules_file: str, policy: Optional[dict] = None, s3gates: Optional[list[S3Gate]] = None, ): @@ -203,7 +202,6 @@ def init_s3_credentials( issue_secret_output = frostfs_authmate_exec.secret.issue( wallet=wallet.path, peer=cluster.default_rpc_endpoint, - bearer_rules=s3_bearer_rules_file, gate_public_key=gate_public_keys, wallet_password=wallet.password, container_policy=policy,