Export (0) Print
Expand All

New-AzureStorageTableSASToken

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

New-AzureStorageTableSASToken

Generates a shared access signature token for Azure storage table.

Syntax

Parameter Set: SasPermission
New-AzureStorageTableSASToken [-Name] <String> [-Context <AzureStorageContext> ] [-EndPartitionKey <String> ] [-EndRowKey <String> ] [-ExpiryTime <DateTime> ] [-FullUri] [-Permission <String> ] [-StartPartitionKey <String> ] [-StartRowKey <String> ] [-StartTime <DateTime> ] [ <CommonParameters>]

Parameter Set: SasPolicy
New-AzureStorageTableSASToken [-Name] <String> [-Context <AzureStorageContext> ] [-EndPartitionKey <String> ] [-EndRowKey <String> ] [-ExpiryTime <DateTime> ] [-FullUri] [-Policy <String> ] [-StartPartitionKey <String> ] [-StartRowKey <String> ] [-StartTime <DateTime> ] [ <CommonParameters>]




Detailed Description

These topics are deprecated and will be removed in the future. For the updated topics, see Azure Storage Cmdlets. This topic describes the cmdlet in the 0.8.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version.

Generates shared access signature token for Azure storage table.

Parameters

-Context<AzureStorageContext>

Azure storage context


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-EndPartitionKey<String>

End partition key.


Aliases

endpk

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-EndRowKey<String>

End row key.


Aliases

endrk

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ExpiryTime<DateTime>

Specifies when the shared access signature is no longer valid.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FullUri

Return the full queue uri with SAS token


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Azure storage table name.


Aliases

N,Table

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Permission<String>

Specifies permissions for a storage table.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Policy<String>

Specifies the Azure stored access policy.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StartPartitionKey<String>

Start partition key.


Aliases

startpk

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StartRowKey<String>

Start row key.


Aliases

startrk

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.


Aliases

none

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, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1

This example generates a table SAS token with full permission.


C:\PS>New-AzureStorageTableSASToken -Name test -Permission raud

Example 2

This example generates a table SAS token with partition key and row key.


C:\PS>New-AzureStorageTableSASToken -Name test -Permission raud -StartPartitionKey a -EndPartitionKey b

Related topics

Show:
© 2015 Microsoft