Removed --bearer_rules parameter from init s3 credentials due to changes in 1.3

This commit is contained in:
Yaroslava Lukoyanova 2023-06-26 16:48:45 +03:00 committed by ylukoyan
parent 889e108be9
commit ac28df2652
2 changed files with 0 additions and 3 deletions

View file

@ -44,7 +44,6 @@ class FrostfsAuthmateSecret(CliCommand):
wallet: str, wallet: str,
wallet_password: str, wallet_password: str,
peer: str, peer: str,
bearer_rules: str,
gate_public_key: Union[str, list[str]], gate_public_key: Union[str, list[str]],
address: Optional[str] = None, address: Optional[str] = None,
container_id: Optional[str] = None, container_id: Optional[str] = None,

View file

@ -189,7 +189,6 @@ def init_s3_credentials(
wallet: WalletInfo, wallet: WalletInfo,
shell: Shell, shell: Shell,
cluster: Cluster, cluster: Cluster,
s3_bearer_rules_file: str,
policy: Optional[dict] = None, policy: Optional[dict] = None,
s3gates: Optional[list[S3Gate]] = None, s3gates: Optional[list[S3Gate]] = None,
): ):
@ -203,7 +202,6 @@ def init_s3_credentials(
issue_secret_output = frostfs_authmate_exec.secret.issue( issue_secret_output = frostfs_authmate_exec.secret.issue(
wallet=wallet.path, wallet=wallet.path,
peer=cluster.default_rpc_endpoint, peer=cluster.default_rpc_endpoint,
bearer_rules=s3_bearer_rules_file,
gate_public_key=gate_public_keys, gate_public_key=gate_public_keys,
wallet_password=wallet.password, wallet_password=wallet.password,
container_policy=policy, container_policy=policy,