Securing S3 using Pre-Signed URLs Flashcards
What is the CLI command to create an S3 bucket?
aws s3 mb s3://
what is the CLI command to list the contents of an s3 bucket?
aws s3 ls s3://
What is the CLI command to list your buckets?
aws s3 ls
what is the CLI command to copy a file to a bucket?
aws s3 cp s3:///
True or false: Specifically knowing the aws CLI commands is not necessary for the SysOps test?
True, however, it will be helpful and is a must for actually working with AWS.
What is an AWS presigned url?
A temporary link to a predefined S3 resource(s). The link will contain a token, and whoever possesses the link will have access to the object.
True or false: a pre-signed URL can only be created using the AWS SDK?
False, you can also use the CLI.
True or False: The default length of time that a pre-signed URL is available is indefinite?
False, it is one hour.
What is the CLI command to change the expiry on a pre-signed URL?
–expires-in
what is the unit of time that pre-signed URLs use for expirations?
seconds. While the default expiry is one hour, it is expressed in terms of seconds.