Support AWS envs creds for non-aws endpoints in S3 gateway (#7156)
Support AWS envs creds for non-aws endpoints in S3 gateway (#7156)

We made a change previously in #7111 which moved support
for AWS envs only for AWS S3 endpoint. Some users requested
that this be added back to Non-AWS endpoints as well as
they require separate credentials for backend authentication
from security point of view.
vadmeste/minio,krishnasrinivas/minio,balamurugana/minio,aead/minio,jimjag/minio,aead/minio,minio/minio,krishnasrinivas/minio,aead/minio,harshavardhana/minio,NitishT/minio,krisis/minio,harshavardhana/minio,krishnasrinivas/minio,krishnasrinivas/minio,harshavardhana/minio,balamurugana/minio,jimjag/minio,aead/minio,jimjag/minio,NitishT/minio,NitishT/minio,vadmeste/minio,fwessels/minio,fwessels/minio,aead/minio,harshavardhana/minio,harshavardhana/minio,jimjag/minio,harshavardhana/minio,aead/minio,harshavardhana/minio,donatello/minio,donatello/minio,harshavardhana/minio,fwessels/minio,aead/minio,NitishT/minio,fwessels/minio,krisis/minio,minio/minio,aead/minio