< Back
New-AzureStorageQueueSASToken
Post
NAME New-AzureStorageQueueSASToken
SYNOPSIS
Generates a shared access signature token for an Azure storage queue.
SYNTAX
New-AzureStorageQueueSASToken [-Name] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-FullUri] [-IPAddressOrRange <String>]
[-Permission <String>] [-Protocol {HttpsOnly | HttpsOrHttp}] [-StartTime <DateTime>] [<CommonParameters>]
New-AzureStorageQueueSASToken [-Name] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-FullUri] [-IPAddressOrRange <String>]
-Policy <String> [-Protocol {HttpsOnly | HttpsOrHttp}] [-StartTime <DateTime>] [<CommonParameters>]
DESCRIPTION
The New-AzureStorageQueueSASToken cmdlet generates shared access signature token for an Azure storage queue.
PARAMETERS
-Context <IStorageContext>
Specifies the Azure storage context. You can create it by New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-ExpiryTime <DateTime>
Specifies when the shared access signature is no longer valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FullUri [<SwitchParameter>]
Indicates that this cmdlet return the full blob URI and the shared access signature token.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IPAddressOrRange <String>
Specifies the IP address or range of IP addresses from which to accept requests, such as 168.1.5.65 or 168.1.5.60-168.1.5.70. The range is
inclusive.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies an Azure storage queue name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Permission <String>
Specifies permissions for a storage queue.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies an Azure stored access policy.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Protocol <SharedAccessProtocol>
Specifies the protocol permitted for a request. The acceptable values for this parameter are: * HttpsOnly
* HttpsOrHttp
The default value is HttpsOrHttp.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Specifies when the shared access signature becomes valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
String
Parameter 'Name' accepts value of type 'String' from the pipeline
OUTPUTS
System.String
NOTES
Example 1: Generate a queue SAS token with full permission
PS C:\\>New-AzureStorageQueueSASToken -Name "Test" -Permission raup
This example generates a queue SAS token with full permission.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uesastoken
SYNOPSIS
Generates a shared access signature token for an Azure storage queue.
SYNTAX
New-AzureStorageQueueSASToken [-Name] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-FullUri] [-IPAddressOrRange <String>]
[-Permission <String>] [-Protocol {HttpsOnly | HttpsOrHttp}] [-StartTime <DateTime>] [<CommonParameters>]
New-AzureStorageQueueSASToken [-Name] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-FullUri] [-IPAddressOrRange <String>]
-Policy <String> [-Protocol {HttpsOnly | HttpsOrHttp}] [-StartTime <DateTime>] [<CommonParameters>]
DESCRIPTION
The New-AzureStorageQueueSASToken cmdlet generates shared access signature token for an Azure storage queue.
PARAMETERS
-Context <IStorageContext>
Specifies the Azure storage context. You can create it by New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-ExpiryTime <DateTime>
Specifies when the shared access signature is no longer valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FullUri [<SwitchParameter>]
Indicates that this cmdlet return the full blob URI and the shared access signature token.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IPAddressOrRange <String>
Specifies the IP address or range of IP addresses from which to accept requests, such as 168.1.5.65 or 168.1.5.60-168.1.5.70. The range is
inclusive.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies an Azure storage queue name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Permission <String>
Specifies permissions for a storage queue.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies an Azure stored access policy.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Protocol <SharedAccessProtocol>
Specifies the protocol permitted for a request. The acceptable values for this parameter are: * HttpsOnly
* HttpsOrHttp
The default value is HttpsOrHttp.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Specifies when the shared access signature becomes valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
String
Parameter 'Name' accepts value of type 'String' from the pipeline
OUTPUTS
System.String
NOTES
Example 1: Generate a queue SAS token with full permission
PS C:\\>New-AzureStorageQueueSASToken -Name "Test" -Permission raup
This example generates a queue SAS token with full permission.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uesastoken