def __init__(
        self,
        image: str = "minio/minio:RELEASE.2022-12-02T19-19-22Z",
        port: int = 9000,
        access_key: str = "minioadmin",
        secret_key: str = "minioadmin",
        **kwargs,
    ) -> None:
        """
        Args:
            image: Docker image to use for the MinIO container.
            port: Port to expose on the container.
            access_key: Access key for client connections.
            secret_key: Secret key for client connections.
        """
        raise_for_deprecated_parameter(kwargs, "port_to_expose", "port")
        super().__init__(image, **kwargs)
        self.port = port
        self.access_key = access_key
        self.secret_key = secret_key

        self.with_exposed_ports(self.port)
        self.with_env("MINIO_ACCESS_KEY", self.access_key)
        self.with_env("MINIO_SECRET_KEY", self.secret_key)
        self.with_command(f"server /data --address :{self.port}")

        Args:
            image: Docker image to use for the MinIO container.
            port: Port to expose on the container.
            access_key: Access key for client connections.
            secret_key: Secret key for client connections.
        
modules/minio/testcontainers/minio/__init__.py