Does aws s3 removes the space between the key's parameter?


I am trying to put a tag on an object: aws s3api put-bucket-tagging --bucket bkt --tagging '{"TagSet": [{ "Key": "Roll Number", "Value": "1"}]}'

Will the aws s3 not process the space between the parameters for key and treat it as RollNumber instead of Roll Number?

asked 22 days ago362 views
1 Answer


Spaces are preserved.
So, in the command example you shared, "Roll Number" will be registered as the tag key.

profile picture
answered 22 days ago
profile picture
reviewed 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions