< Back

New-AzureStorageContainerSASToken

Sun Jan 12, 2020 4:38 pm

NAME New-AzureStorageContainerSASToken



SYNTAX

New-AzureStorageContainerSASToken [-Name] <string> -Policy <string> [-Protocol {HttpsOnly | HttpsOrHttp}]

[-IPAddressOrRange <string>] [-StartTime <datetime>] [-ExpiryTime <datetime>] [-FullUri] [-Context

<IStorageContext>] [<CommonParameters>]



New-AzureStorageContainerSASToken [-Name] <string> [-Permission <string>] [-Protocol {HttpsOnly | HttpsOrHttp}]

[-IPAddressOrRange <string>] [-StartTime <datetime>] [-ExpiryTime <datetime>] [-FullUri] [-Context

<IStorageContext>] [<CommonParameters>]





PARAMETERS

-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-ExpiryTime <datetime>

Expiry Time



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-FullUri

Display full uri with sas token



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-IPAddressOrRange <string>

IP, or IP range ACL (access control list) that the request would be accepted by Azure Storage.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Name <string>

Container Name



Required? true

Position? 0

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases N, Container

Dynamic? false



-Permission <string>

Permissions for a container. Permissions can be any not-empty subset of "rwdl".



Required? false

Position? Named

Accept pipeline input? false

Parameter set name SasPermission

Aliases None

Dynamic? false



-Policy <string>

Policy Identifier



Required? true

Position? Named

Accept pipeline input? false

Parameter set name SasPolicy

Aliases None

Dynamic? false



-Protocol <SharedAccessProtocol>

Protocol can be used in the request with this SAS token.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-StartTime <datetime>

Start Time



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String

Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext





OUTPUTS

System.String





ALIASES

None





REMARKS

None