#Question about SAS token

1 messages · Page 1 of 1 (latest)

civic gorge
#

So I'm pretty new to all this and im currently underway studying for the AZ-104.
I'm trying to figure out SAS and have a question about the URI including the SAS token.
Are the ? supposed to be in the SAS token or in the resource URI? I've tried to google it but people seem confused about this and I literally have no clue.
At some places the SAS token has the ? and at some places the ? belongs to the resource URI.
Hopefully someone knows wth im talking about and are able to help me out.

Pictures below

Huge thanks in advance

#

blob SAS

#

SAS straight from the storage account

#

this picture is from MS docs

#

Something I really have to know before taking the exams but this is literally driving me nuts.
If you got a question that stated; differentiate the URI from the SAS - would you include the ? in the SAS or not? Can't get my head around it tbh so please someone explain.

tranquil anchor
#

The ? In a URI indicates that the path is done and now parameters should begin

#

Not explained perfectly, but you get the idea

#

So I don't think you can say that it's part of the sas token. But it is part of the URI used to access the content

civic gorge
#

Ok, thanks alot for taking your time to help. Sorry if I seem clueless.

So what I can take from this is; if I ever get a question about it i should exclude the ”?”?
Based on searches online thats the correct way but yeah it’s a bit confusing as it’s included in some places.

dusk atlas
#

I would include the ? in the SAS. A URL is valid with or without but it would be weird to end a URL with ? and not include all of the parameters with it.

civic gorge