Skip to content

Commit 417c841

Browse files
[FIX] Update sample env file keys for S3 and Azure (#177)
Update sample env file keys for s3 and azure
1 parent 2a23a1e commit 417c841

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sample.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ TEXT_CONTENT=Writing directly from string as read_file is not passed
2424
FILE_STORAGE_GCS='{"token": "/path/to/google/creds.json"}'
2525
FILE_STORAGE_MINIO='{"endpoint_url": "http://localhost:9000","key": "xxxx", "secret": "xxxx"}'
2626
FILE_STORAGE_LOCAL='{"auto_mkdir": True}'
27-
FILE_STORAGE_AZURE = '{"azure_account_name":"xxxx","azure_access_key":"XXX","connection_string":"xxxx","azure_bucket_name":"fsspec-test"}'
28-
FILE_STORAGE_S3 = '{"s3_key":'xxxx',"s3_secret":'XXXX',"s3_bucket":'fsspec-test',"s3_endpoint":'https://s3.ap-south-1.amazonaws.com/',"s3_region":'ap-south-1'}'
27+
FILE_STORAGE_AZURE = '{"account_name":"xxxx","access_key":"XXX","connection_string":"xxxx","bucket_name":"fsspec-test"}'
28+
FILE_STORAGE_S3 = '{"key":'xxxx',"secret":'XXXX',"endpoint_url":'https://s3.ap-south-1.amazonaws.com/'}'
2929
TEST_PERMANENT_STORAGE_GCS='{"provider": "gcs", "credentials": {"token": "/path/to/google/creds.json"}}'
3030
TEST_TEMPORARY_STORAGE='{"provider": "minio", "credentials": {"endpoint_url": "http://unstract-minio:9000", "key": "xxxx", "secret": "xxxx"}}'
3131
TEST_LOCAL_STORAGE='{"provider":"local"}'
32-
TEST_PERMANENT_STORAGE_AZURE = '{"provider": "abfs", "credentials": {"azure_account_name":"unstractpocstorage","azure_access_key":"xxxx","azure_bucket_name":"fsspec-test","connection_string":"xxxx"}}'
32+
TEST_PERMANENT_STORAGE_AZURE = '{"provider": "abfs", "credentials": {"account_name":"unstractpocstorage","access_key":"xxxx","bucket_name":"fsspec-test","connection_string":"xxxx"}}'

0 commit comments

Comments
 (0)