Update argument func init s3 #83

Merged
d.zayakin merged 1 commit from d.zayakin/frostfs-testlib:s3-creds-update into master 2023-09-19 08:35:34 +00:00

View file

@ -194,6 +194,7 @@ def init_s3_credentials(
cluster: Cluster,
policy: Optional[dict] = None,
s3gates: Optional[list[S3Gate]] = None,
container_placement_policy: Optional[str] = None,
):
gate_public_keys = []
bucket = str(uuid.uuid4())
@ -209,6 +210,7 @@ def init_s3_credentials(
wallet_password=wallet.password,
container_policy=policy,
container_friendly_name=bucket,
container_placement_policy=container_placement_policy,
).stdout
aws_access_key_id = str(
re.search(r"access_key_id.*:\s.(?P<aws_access_key_id>\w*)", issue_secret_output).group(