Developing with Amazon S3 using the Amazon CLI
The Amazon S3 Amazon CLI commands are organized into different sets in Amazon CLI Command Reference and each has it’s own available commands. If you don't find the command that you're looking for in one set, check one of the other sets. The different sets are as follows:
-
s3
– Describes high-level commands for working with objects and buckets. These include copy, list and move actions. For a complete list of commands in this set, see s3in the Amazon CLI Command Reference. -
s3api
– Describes low-level commands that manage S3 resources such as buckets, objects, sessions and multipart uploads. These commands correspond to the Amazon S3 API operations. For a complete list of CLI commands in this set, see s3apiin the Amazon CLI Command Reference. -
s3control
– Describes low-level commands that manage all other S3 resources such as Access Grants, Storage Lens groups, and Amazon S3 on Outposts buckets. These commands correspond to the Amazon S3 Control API operations. For a complete list of CLI commands in this set, see s3controlin the Amazon CLI Command Reference.
Note
Services in Amazon, 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 Amazon Web Services account to access the Amazon CLI or API. However, we don't recommend that you access Amazon using the credentials for your Amazon Web Services account. Instead, we recommend that you use Amazon Identity and Access Management (IAM). Create an IAM user, add the user to an IAM group with administrative permissions, and then grant administrative permissions to the IAM user that you created. You can then access Amazon using a special URL and the credentials of that IAM user. For instructions, go to Creating Your First IAM user and Administrators Group in the IAM User Guide.
Learn more about the Amazon CLI
To learn more about the Amazon, see the following resources: