-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
My ~/.aws/credentials file contains the following entry which causes eini to complain:
[minio]
ws_access_key_id = admin
ws_secret_access_key = password
s3 =
endpoint_url = http://127.0.0.1:9000
verify_ssl = false
s3api =
endpoint_url = http://127.0.0.1:9000
verify_ssl = false
The grumbling looks like:
1> {ok, F} = file:read_file("/home/alex/.aws/credentials").
{ok,<<"[default]\noutput = text\nregion = eu-west-1\n\n"...>>}
2> eini:parse(F).
{error,{syntax_error,18,["syntax error before: ","break"]}}
Commenting out the s3/s3api values with semi-colons resolves the error.
FYI, the reason for the indentation is so that I can use an alternative endpoint for when running minio locally for my offline development work, so the following is in my ~/.aws/config file too:
[plugins]
; https://github.com/wbingli/awscli-plugin-endpoint
endpoint = awscli_plugin_endpoint
I may come up with a fix myself in the next week or two, but wanted this logged as an issue otherwise I'll only forget.
Metadata
Metadata
Assignees
Labels
No labels