$ aws configure
AWS Access Key ID [None]: ****************M6FY
AWS Secret Access Key [None]: ************************************zLEK
Default region name [None]: ap-northeast-2
Default output format [None]: json
$ aws configure list
Name Value Type Location
---- ----- ---- --------
profile <not set> None None
access_key ****************M6FY shared-credentials-file
secret_key ****************zLEK shared-credentials-file
region ap-northeast-2 config-file ~/.aws/config
//"User Name" in csv is set as a profile
$ aws configure import --csv file:///home/wom/Downloads/credentials.csv
Successfully imported 1 profile(s)
$ aws configure list-profiles
default
[email protected]
$ aws s3 ls --profile [email protected]
2019-10-18 15:38:48 crazinglab-ball-detection
2019-11-13 19:05:58 crazinglab-ball-image-data
2019-11-15 09:54:33 crazinglab-internship-summer-2018
2019-11-15 09:52:07 crazinglab-internship-summer-2019
2019-10-18 15:15:49 crazinglab-test
2019-11-08 17:09:15 crazinglab-video-data
2023-01-06 14:16:34 wom-ai-published
2020-09-07 23:14:54 wom-videos
$ aws s3 ls
2019-10-18 16:25:47 crazinglab-ball-detection
2019-11-15 20:17:51 crazinglab-ball-image-data
2019-11-15 09:54:34 crazinglab-internship-summer-2018
2019-11-15 10:02:20 crazinglab-internship-summer-2019
2019-10-18 15:15:51 crazinglab-test
2019-11-15 10:04:23 crazinglab-video-data
2023-01-06 11:45:29 wom-published
2020-09-07 23:14:55 wom-videos
$ aws s3 mv ~/Downloads/prnt_58840.pdf s3://wom-ai-published/debs/
move: ../../Downloads/prnt_58840.pdf to s3://wom-ai-published/debs/prnt_58840.pdf
$ aws s3 ls s3://wom-ai-published/debs/
2023-01-06 14:19:51 165139 prnt_58840.pdf