Professional Documents
Culture Documents
Developing With Amazon S3 Using The AWS CLI - Amazon Simple Storage Service
Developing With Amazon S3 Using The AWS CLI - Amazon Simple Storage Service
For a list of Amazon S3 AWS CLI commands, see the following pages in
the AWS CLI Command Reference:
s3
(https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/i
ndex.html)
s3api
(https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3ap
i/index.html)
s3control
(https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3co
ntrol/index.html)
Note
Services in AWS, such as Amazon S3, require that you provide
credentials when you access them. The service can then
determine whether you have permissions to access the resources
that it owns. The console requires your password. You can create
access keys for your AWS account to access the AWS CLI or API.
However, we don't recommend that you access AWS using the
credentials for your AWS account. Instead, we recommend that
https://docs.aws.amazon.com/AmazonS3/latest/userguide/setup-aws-cli.html 1/3
28/6/24, 22:04 Developing with Amazon S3 using the AWS CLI - Amazon Simple Storage Service
1. Download and configure the AWS CLI. For instructions, see the
following topics in the AWS Command Line Interface User Guide:
Getting Set Up with the AWS Command Line Interface
(https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-
up.html)
2. Add a named profile for the administrator user in the AWS CLI config
file. You use this profile when executing the AWS CLI commands. For
more information, see Named profiles for the AWS CLI
(https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-
profiles.html) in the AWS Command Line Interface User Guide.
[adminuser]
aws_access_key_id = adminuser access key ID
aws_secret_access_key = adminuser secret access
key
region = aws-region
https://docs.aws.amazon.com/AmazonS3/latest/userguide/setup-aws-cli.html 2/3
28/6/24, 22:04 Developing with Amazon S3 using the AWS CLI - Amazon Simple Storage Service
aws help
© 2024, Amazon Web Services, Inc o sus afiliados. Todos los derechos reservados.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/setup-aws-cli.html 3/3