Shared-credentials-file is not recognised

welcome to the forum,

i can reproduce the issue, on windows.

edit: i did some quick testing, could be an issue with profile = using non-default profile name

this does not work

[remote]
type = s3
provider = Wasabi
env_auth = true
shared_credentials_file = c:\data\rclone\secrets
profile = wasabi
region = us-east-2
endpoint = s3.us-east-2.wasabisys.com

this does work using default profile

[remote]
type = s3
provider = Wasabi
env_auth = true
shared_credentials_file = c:\data\rclone\secrets
region = us-east-2
endpoint = s3.us-east-2.wasabisys.com

also, this does work, specifying the default profile

[remote]
type = s3
provider = Wasabi
env_auth = true
shared_credentials_file = c:\data\rclone\secrets
profile = default
region = us-east-2
endpoint = s3.us-east-2.wasabisys.com