No. There is no environment variable for setting the endpoint URL. In addition to the FileSystemFromUri method you can also construct the filesystem directly:
``` arrow::fs::S3Options options = arrow::fs::S3Options::Defaults(); options.endpoint_override = "localhost:9000"; Result<arrow::fs::S3FileSystem> filesystem = arrow::fs::S3FileSystem::Make(options); ``` On Wed, Mar 22, 2023 at 9:48 PM Алексей Рябов <[email protected]> wrote: > Hello, I want to understand the proper way of configuring S3FileSystem for > it to be able reading from my local MinioServer. Question is about > specifying endpoint_url. > > I can set access keys through environment > variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, but the only way to > specify endpoint url is to set it in bucket location uri through endpoint: > > s3://mvp/foo/bar/?endpoint_override=localhost:9000&scheme=http > > and then using arrow::fs::FileSystemFromUri method. > > Is there any other way of specifying endpoint url similar to access keys? > Please advise. >
