1. Packages
  2. Azure Native v2
  3. API Docs
  4. storage
  5. listStorageAccountServiceSAS
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.storage.listStorageAccountServiceSAS

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

List service SAS credentials of a specific resource. Azure REST API version: 2022-09-01.

Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.

Using listStorageAccountServiceSAS

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function listStorageAccountServiceSAS(args: ListStorageAccountServiceSASArgs, opts?: InvokeOptions): Promise<ListStorageAccountServiceSASResult>
function listStorageAccountServiceSASOutput(args: ListStorageAccountServiceSASOutputArgs, opts?: InvokeOptions): Output<ListStorageAccountServiceSASResult>
Copy
def list_storage_account_service_sas(account_name: Optional[str] = None,
                                     cache_control: Optional[str] = None,
                                     canonicalized_resource: Optional[str] = None,
                                     content_disposition: Optional[str] = None,
                                     content_encoding: Optional[str] = None,
                                     content_language: Optional[str] = None,
                                     content_type: Optional[str] = None,
                                     i_p_address_or_range: Optional[str] = None,
                                     identifier: Optional[str] = None,
                                     key_to_sign: Optional[str] = None,
                                     partition_key_end: Optional[str] = None,
                                     partition_key_start: Optional[str] = None,
                                     permissions: Optional[Union[str, Permissions]] = None,
                                     protocols: Optional[HttpProtocol] = None,
                                     resource: Optional[Union[str, SignedResource]] = None,
                                     resource_group_name: Optional[str] = None,
                                     row_key_end: Optional[str] = None,
                                     row_key_start: Optional[str] = None,
                                     shared_access_expiry_time: Optional[str] = None,
                                     shared_access_start_time: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> ListStorageAccountServiceSASResult
def list_storage_account_service_sas_output(account_name: Optional[pulumi.Input[str]] = None,
                                     cache_control: Optional[pulumi.Input[str]] = None,
                                     canonicalized_resource: Optional[pulumi.Input[str]] = None,
                                     content_disposition: Optional[pulumi.Input[str]] = None,
                                     content_encoding: Optional[pulumi.Input[str]] = None,
                                     content_language: Optional[pulumi.Input[str]] = None,
                                     content_type: Optional[pulumi.Input[str]] = None,
                                     i_p_address_or_range: Optional[pulumi.Input[str]] = None,
                                     identifier: Optional[pulumi.Input[str]] = None,
                                     key_to_sign: Optional[pulumi.Input[str]] = None,
                                     partition_key_end: Optional[pulumi.Input[str]] = None,
                                     partition_key_start: Optional[pulumi.Input[str]] = None,
                                     permissions: Optional[pulumi.Input[Union[str, Permissions]]] = None,
                                     protocols: Optional[pulumi.Input[HttpProtocol]] = None,
                                     resource: Optional[pulumi.Input[Union[str, SignedResource]]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     row_key_end: Optional[pulumi.Input[str]] = None,
                                     row_key_start: Optional[pulumi.Input[str]] = None,
                                     shared_access_expiry_time: Optional[pulumi.Input[str]] = None,
                                     shared_access_start_time: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[ListStorageAccountServiceSASResult]
Copy
func ListStorageAccountServiceSAS(ctx *Context, args *ListStorageAccountServiceSASArgs, opts ...InvokeOption) (*ListStorageAccountServiceSASResult, error)
func ListStorageAccountServiceSASOutput(ctx *Context, args *ListStorageAccountServiceSASOutputArgs, opts ...InvokeOption) ListStorageAccountServiceSASResultOutput
Copy

> Note: This function is named ListStorageAccountServiceSAS in the Go SDK.

public static class ListStorageAccountServiceSAS 
{
    public static Task<ListStorageAccountServiceSASResult> InvokeAsync(ListStorageAccountServiceSASArgs args, InvokeOptions? opts = null)
    public static Output<ListStorageAccountServiceSASResult> Invoke(ListStorageAccountServiceSASInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListStorageAccountServiceSASResult> listStorageAccountServiceSAS(ListStorageAccountServiceSASArgs args, InvokeOptions options)
public static Output<ListStorageAccountServiceSASResult> listStorageAccountServiceSAS(ListStorageAccountServiceSASArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:storage:listStorageAccountServiceSAS
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
CanonicalizedResource This property is required. string
The canonical path to the signed resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
CacheControl string
The response header override for cache control.
ContentDisposition string
The response header override for content disposition.
ContentEncoding string
The response header override for content encoding.
ContentLanguage string
The response header override for content language.
ContentType string
The response header override for content type.
IPAddressOrRange string
An IP address or a range of IP addresses from which to accept requests.
Identifier string
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
KeyToSign string
The key to sign the account SAS token with.
PartitionKeyEnd string
The end of partition key.
PartitionKeyStart string
The start of partition key.
Permissions string | Pulumi.AzureNative.Storage.Permissions
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
Protocols Pulumi.AzureNative.Storage.HttpProtocol
The protocol permitted for a request made with the account SAS.
Resource string | Pulumi.AzureNative.Storage.SignedResource
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
RowKeyEnd string
The end of row key.
RowKeyStart string
The start of row key.
SharedAccessExpiryTime string
The time at which the shared access signature becomes invalid.
SharedAccessStartTime string
The time at which the SAS becomes valid.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
CanonicalizedResource This property is required. string
The canonical path to the signed resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
CacheControl string
The response header override for cache control.
ContentDisposition string
The response header override for content disposition.
ContentEncoding string
The response header override for content encoding.
ContentLanguage string
The response header override for content language.
ContentType string
The response header override for content type.
IPAddressOrRange string
An IP address or a range of IP addresses from which to accept requests.
Identifier string
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
KeyToSign string
The key to sign the account SAS token with.
PartitionKeyEnd string
The end of partition key.
PartitionKeyStart string
The start of partition key.
Permissions string | Permissions
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
Protocols HttpProtocol
The protocol permitted for a request made with the account SAS.
Resource string | SignedResource
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
RowKeyEnd string
The end of row key.
RowKeyStart string
The start of row key.
SharedAccessExpiryTime string
The time at which the shared access signature becomes invalid.
SharedAccessStartTime string
The time at which the SAS becomes valid.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
canonicalizedResource This property is required. String
The canonical path to the signed resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
cacheControl String
The response header override for cache control.
contentDisposition String
The response header override for content disposition.
contentEncoding String
The response header override for content encoding.
contentLanguage String
The response header override for content language.
contentType String
The response header override for content type.
iPAddressOrRange String
An IP address or a range of IP addresses from which to accept requests.
identifier String
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
keyToSign String
The key to sign the account SAS token with.
partitionKeyEnd String
The end of partition key.
partitionKeyStart String
The start of partition key.
permissions String | Permissions
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
protocols HttpProtocol
The protocol permitted for a request made with the account SAS.
resource String | SignedResource
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
rowKeyEnd String
The end of row key.
rowKeyStart String
The start of row key.
sharedAccessExpiryTime String
The time at which the shared access signature becomes invalid.
sharedAccessStartTime String
The time at which the SAS becomes valid.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
canonicalizedResource This property is required. string
The canonical path to the signed resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
cacheControl string
The response header override for cache control.
contentDisposition string
The response header override for content disposition.
contentEncoding string
The response header override for content encoding.
contentLanguage string
The response header override for content language.
contentType string
The response header override for content type.
iPAddressOrRange string
An IP address or a range of IP addresses from which to accept requests.
identifier string
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
keyToSign string
The key to sign the account SAS token with.
partitionKeyEnd string
The end of partition key.
partitionKeyStart string
The start of partition key.
permissions string | Permissions
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
protocols HttpProtocol
The protocol permitted for a request made with the account SAS.
resource string | SignedResource
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
rowKeyEnd string
The end of row key.
rowKeyStart string
The start of row key.
sharedAccessExpiryTime string
The time at which the shared access signature becomes invalid.
sharedAccessStartTime string
The time at which the SAS becomes valid.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
canonicalized_resource This property is required. str
The canonical path to the signed resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription. The name is case insensitive.
cache_control str
The response header override for cache control.
content_disposition str
The response header override for content disposition.
content_encoding str
The response header override for content encoding.
content_language str
The response header override for content language.
content_type str
The response header override for content type.
i_p_address_or_range str
An IP address or a range of IP addresses from which to accept requests.
identifier str
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
key_to_sign str
The key to sign the account SAS token with.
partition_key_end str
The end of partition key.
partition_key_start str
The start of partition key.
permissions str | Permissions
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
protocols HttpProtocol
The protocol permitted for a request made with the account SAS.
resource str | SignedResource
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
row_key_end str
The end of row key.
row_key_start str
The start of row key.
shared_access_expiry_time str
The time at which the shared access signature becomes invalid.
shared_access_start_time str
The time at which the SAS becomes valid.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
canonicalizedResource This property is required. String
The canonical path to the signed resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
cacheControl String
The response header override for cache control.
contentDisposition String
The response header override for content disposition.
contentEncoding String
The response header override for content encoding.
contentLanguage String
The response header override for content language.
contentType String
The response header override for content type.
iPAddressOrRange String
An IP address or a range of IP addresses from which to accept requests.
identifier String
A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.
keyToSign String
The key to sign the account SAS token with.
partitionKeyEnd String
The end of partition key.
partitionKeyStart String
The start of partition key.
permissions String | "r" | "d" | "w" | "l" | "a" | "c" | "u" | "p"
The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
protocols "https,http" | "https"
The protocol permitted for a request made with the account SAS.
resource String | "b" | "c" | "f" | "s"
The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
rowKeyEnd String
The end of row key.
rowKeyStart String
The start of row key.
sharedAccessExpiryTime String
The time at which the shared access signature becomes invalid.
sharedAccessStartTime String
The time at which the SAS becomes valid.

listStorageAccountServiceSAS Result

The following output properties are available:

ServiceSasToken string
List service SAS credentials of specific resource.
ServiceSasToken string
List service SAS credentials of specific resource.
serviceSasToken String
List service SAS credentials of specific resource.
serviceSasToken string
List service SAS credentials of specific resource.
service_sas_token str
List service SAS credentials of specific resource.
serviceSasToken String
List service SAS credentials of specific resource.

Supporting Types

HttpProtocol

Permissions

SignedResource

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi