Discussion:
[S3tools-general] Different profiles
Cherish Drain
2015-11-05 17:49:41 UTC
Permalink
Hi All,

I have different profiles that have different aws credentials. How can I
set the profile when calling s3cmd sync?

for example aws allows me to do :

aws sync ./test s3://test --profile stage

The aws credential file has different sets of credentials for each profile.

Best,
Cherish
Florent Viard
2015-11-05 18:37:22 UTC
Permalink
Hi Cherish,

You can use the -c option (or --config).
Ex.: ... -c my_s3config ...

As for most of your other questions, you can have a look at the help of
s3cmd that list all the options and command that are available:
./s3cmd --help

Regards,

--
Florent <http://www.seagate.com>
Post by Cherish Drain
Hi All,
I have different profiles that have different aws credentials. How can I
set the profile when calling s3cmd sync?
aws sync ./test s3://test --profile stage
The aws credential file has different sets of credentials for each profile.
Best,
Cherish
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_s3tools-2Dgeneral&d=CwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=GEhQqSrCDlzPsOu9ww_S8dL0RpfPwWzg7DpciZD7d7Y&m=eDVcIjcMs89B_VmVfkXDuc3OSs0NCYsy_IEkMDr-e3Y&s=R2KzJJ2pUrNMe0Kf7Ml1ooUoIW_STBffzoEAHk1MfeQ&e=
Cherish Drain
2015-11-05 19:40:38 UTC
Permalink
Thanks
Post by Florent Viard
Hi Cherish,
You can use the -c option (or --config).
Ex.: ... -c my_s3config ...
As for most of your other questions, you can have a look at the help of
./s3cmd --help
Regards,
--
Florent <http://www.seagate.com>
Post by Cherish Drain
Hi All,
I have different profiles that have different aws credentials. How can I
set the profile when calling s3cmd sync?
aws sync ./test s3://test --profile stage
The aws credential file has different sets of credentials for each profile.
Best,
Cherish
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_s3tools-2Dgeneral&d=CwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=GEhQqSrCDlzPsOu9ww_S8dL0RpfPwWzg7DpciZD7d7Y&m=eDVcIjcMs89B_VmVfkXDuc3OSs0NCYsy_IEkMDr-e3Y&s=R2KzJJ2pUrNMe0Kf7Ml1ooUoIW_STBffzoEAHk1MfeQ&e=
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
Loading...