Remove example S3 credentials

This commit is contained in:
clearml 2025-06-04 11:57:40 +03:00
parent c3f927d6c1
commit 16d0955ae1
2 changed files with 12 additions and 10 deletions

View File

@ -15,15 +15,15 @@ aws {
# key: "my-access-key"
# secret: "my-secret-key"
# },
{
# This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
host: "localhost:9000"
key: "minioadmin"
secret: "minioadmin"
# region: my-server
multipart: false
secure: false
}
// {
// # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
// host: "localhost:9000"
// key: "minioadmin"
// secret: "minioadmin"
// # region: my-server
// multipart: false
// secure: false
// }
]
}
}

View File

@ -73,7 +73,9 @@ def init_mongo_data():
}
internal_user_emails.add(email.lower())
revoke = fixed_mode and credentials.get("revoke_in_fixed_mode", False)
user_id = _ensure_auth_user(user_data, company_id, log=log, revoke=revoke, internal_user=True)
user_id = _ensure_auth_user(
user_data, company_id, log=log, revoke=revoke, internal_user=True
)
if credentials.role == Role.user:
_ensure_backend_user(user_id, company_id, credentials.display_name)