This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.storage.listStorageAccountSAS
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
List SAS credentials of a storage account.
Uses Azure REST API version 2022-09-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01, 2024-01-01.
Using listStorageAccountSAS
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 listStorageAccountSAS(args: ListStorageAccountSASArgs, opts?: InvokeOptions): Promise<ListStorageAccountSASResult>
function listStorageAccountSASOutput(args: ListStorageAccountSASOutputArgs, opts?: InvokeOptions): Output<ListStorageAccountSASResult>def list_storage_account_sas(account_name: Optional[str] = None,
                             i_p_address_or_range: Optional[str] = None,
                             key_to_sign: Optional[str] = None,
                             permissions: Optional[Union[str, Permissions]] = None,
                             protocols: Optional[HttpProtocol] = None,
                             resource_group_name: Optional[str] = None,
                             resource_types: Optional[Union[str, SignedResourceTypes]] = None,
                             services: Optional[Union[str, Services]] = None,
                             shared_access_expiry_time: Optional[str] = None,
                             shared_access_start_time: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> ListStorageAccountSASResult
def list_storage_account_sas_output(account_name: Optional[pulumi.Input[str]] = None,
                             i_p_address_or_range: Optional[pulumi.Input[str]] = None,
                             key_to_sign: Optional[pulumi.Input[str]] = None,
                             permissions: Optional[pulumi.Input[Union[str, Permissions]]] = None,
                             protocols: Optional[pulumi.Input[HttpProtocol]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             resource_types: Optional[pulumi.Input[Union[str, SignedResourceTypes]]] = None,
                             services: Optional[pulumi.Input[Union[str, Services]]] = None,
                             shared_access_expiry_time: Optional[pulumi.Input[str]] = None,
                             shared_access_start_time: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[ListStorageAccountSASResult]func ListStorageAccountSAS(ctx *Context, args *ListStorageAccountSASArgs, opts ...InvokeOption) (*ListStorageAccountSASResult, error)
func ListStorageAccountSASOutput(ctx *Context, args *ListStorageAccountSASOutputArgs, opts ...InvokeOption) ListStorageAccountSASResultOutput> Note: This function is named ListStorageAccountSAS in the Go SDK.
public static class ListStorageAccountSAS 
{
    public static Task<ListStorageAccountSASResult> InvokeAsync(ListStorageAccountSASArgs args, InvokeOptions? opts = null)
    public static Output<ListStorageAccountSASResult> Invoke(ListStorageAccountSASInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListStorageAccountSASResult> listStorageAccountSAS(ListStorageAccountSASArgs args, InvokeOptions options)
public static Output<ListStorageAccountSASResult> listStorageAccountSAS(ListStorageAccountSASArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storage:listStorageAccountSAS
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName 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.
- Permissions
string | Pulumi.Azure Native. Storage. Permissions 
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- ResourceTypes string | Pulumi.Azure Native. Storage. Signed Resource Types 
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- Services
string | Pulumi.Azure Native. Storage. Services 
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- string
- The time at which the shared access signature becomes invalid.
- IPAddressOr stringRange 
- An IP address or a range of IP addresses from which to accept requests.
- KeyTo stringSign 
- The key to sign the account SAS token with.
- Protocols
Pulumi.Azure Native. Storage. Http Protocol 
- The protocol permitted for a request made with the account SAS.
- string
- The time at which the SAS becomes valid.
- AccountName 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.
- Permissions string | Permissions
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- ResourceTypes string | SignedResource Types 
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- Services string | Services
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- string
- The time at which the shared access signature becomes invalid.
- IPAddressOr stringRange 
- An IP address or a range of IP addresses from which to accept requests.
- KeyTo stringSign 
- The key to sign the account SAS token with.
- Protocols
HttpProtocol 
- The protocol permitted for a request made with the account SAS.
- string
- The time at which the SAS becomes valid.
- accountName 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.
- permissions String | Permissions
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- resourceTypes String | SignedResource Types 
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- services String | Services
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- String
- The time at which the shared access signature becomes invalid.
- iPAddress StringOr Range 
- An IP address or a range of IP addresses from which to accept requests.
- keyTo StringSign 
- The key to sign the account SAS token with.
- protocols
HttpProtocol 
- The protocol permitted for a request made with the account SAS.
- String
- The time at which the SAS becomes valid.
- accountName 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.
- permissions string | Permissions
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- resourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- resourceTypes string | SignedResource Types 
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- services string | Services
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- string
- The time at which the shared access signature becomes invalid.
- iPAddress stringOr Range 
- An IP address or a range of IP addresses from which to accept requests.
- keyTo stringSign 
- The key to sign the account SAS token with.
- protocols
HttpProtocol 
- The protocol permitted for a request made with the account SAS.
- string
- The time at which the SAS becomes valid.
- account_name 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.
- permissions str | Permissions
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- resource_group_ strname 
- The name of the resource group within the user's subscription. The name is case insensitive.
- resource_types str | SignedResource Types 
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- services str | Services
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- str
- The time at which the shared access signature becomes invalid.
- i_p_ straddress_ or_ range 
- An IP address or a range of IP addresses from which to accept requests.
- key_to_ strsign 
- The key to sign the account SAS token with.
- protocols
HttpProtocol 
- The protocol permitted for a request made with the account SAS.
- str
- The time at which the SAS becomes valid.
- accountName 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.
- permissions String | "r" | "d" | "w" | "l" | "a" | "c" | "u" | "p"
- The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- resourceTypes String | "s" | "c" | "o"
- The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
- services String | "b" | "q" | "t" | "f"
- The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
- String
- The time at which the shared access signature becomes invalid.
- iPAddress StringOr Range 
- An IP address or a range of IP addresses from which to accept requests.
- keyTo StringSign 
- The key to sign the account SAS token with.
- protocols "https,http" | "https"
- The protocol permitted for a request made with the account SAS.
- String
- The time at which the SAS becomes valid.
listStorageAccountSAS Result
The following output properties are available:
- AccountSas stringToken 
- List SAS credentials of storage account.
- AccountSas stringToken 
- List SAS credentials of storage account.
- accountSas StringToken 
- List SAS credentials of storage account.
- accountSas stringToken 
- List SAS credentials of storage account.
- account_sas_ strtoken 
- List SAS credentials of storage account.
- accountSas StringToken 
- List SAS credentials of storage account.
Supporting Types
HttpProtocol 
Permissions
Services
SignedResourceTypes  
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi