azure-native.storage.listStorageAccountServiceSAS
Explore with Pulumi AI
List service SAS credentials of a specific resource.
Uses Azure REST API version 2024-01-01.
Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native storage [ApiVersion]. See the version guide for details.
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>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]func ListStorageAccountServiceSAS(ctx *Context, args *ListStorageAccountServiceSASArgs, opts ...InvokeOption) (*ListStorageAccountServiceSASResult, error)
func ListStorageAccountServiceSASOutput(ctx *Context, args *ListStorageAccountServiceSASOutputArgs, opts ...InvokeOption) ListStorageAccountServiceSASResultOutput> 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)
}public static CompletableFuture<ListStorageAccountServiceSASResult> listStorageAccountServiceSAS(ListStorageAccountServiceSASArgs args, InvokeOptions options)
public static Output<ListStorageAccountServiceSASResult> listStorageAccountServiceSAS(ListStorageAccountServiceSASArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storage:listStorageAccountServiceSAS
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Name 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.
 - Canonicalized
Resource string - The canonical path to the signed resource.
 - Resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - Cache
Control string - The response header override for cache control.
 - Content
Disposition string - The response header override for content disposition.
 - Content
Encoding string - The response header override for content encoding.
 - Content
Language string - The response header override for content language.
 - Content
Type string - The response header override for content type.
 - IPAddress
Or stringRange  - 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.
 - Key
To stringSign  - The key to sign the account SAS token with.
 - Partition
Key stringEnd  - The end of partition key.
 - Partition
Key stringStart  - The start of partition key.
 - Permissions
string | Pulumi.
Azure Native. 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.
Azure Native. Storage. Http Protocol  - The protocol permitted for a request made with the account SAS.
 - Resource
string | Pulumi.
Azure Native. Storage. Signed Resource  - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
 - Row
Key stringEnd  - The end of row key.
 - Row
Key stringStart  - The start of row key.
 - string
 - The time at which the shared access signature becomes invalid.
 - string
 - The time at which the SAS becomes valid.
 
- Account
Name 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.
 - Canonicalized
Resource string - The canonical path to the signed resource.
 - Resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - Cache
Control string - The response header override for cache control.
 - Content
Disposition string - The response header override for content disposition.
 - Content
Encoding string - The response header override for content encoding.
 - Content
Language string - The response header override for content language.
 - Content
Type string - The response header override for content type.
 - IPAddress
Or stringRange  - 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.
 - Key
To stringSign  - The key to sign the account SAS token with.
 - Partition
Key stringEnd  - The end of partition key.
 - Partition
Key stringStart  - 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
Http
Protocol  - The protocol permitted for a request made with the account SAS.
 - Resource
string | Signed
Resource  - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
 - Row
Key stringEnd  - The end of row key.
 - Row
Key stringStart  - The start of row key.
 - string
 - The time at which the shared access signature becomes invalid.
 - string
 - The time at which the SAS becomes valid.
 
- account
Name 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.
 - canonicalized
Resource String - The canonical path to the signed resource.
 - resource
Group StringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - cache
Control String - The response header override for cache control.
 - content
Disposition String - The response header override for content disposition.
 - content
Encoding String - The response header override for content encoding.
 - content
Language String - The response header override for content language.
 - content
Type String - The response header override for content type.
 - i
PAddress StringOr Range  - 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.
 - key
To StringSign  - The key to sign the account SAS token with.
 - partition
Key StringEnd  - The end of partition key.
 - partition
Key StringStart  - 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
Http
Protocol  - The protocol permitted for a request made with the account SAS.
 - resource
String | Signed
Resource  - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
 - row
Key StringEnd  - The end of row key.
 - row
Key StringStart  - The start of row key.
 - String
 - The time at which the shared access signature becomes invalid.
 - String
 - The time at which the SAS becomes valid.
 
- account
Name 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.
 - canonicalized
Resource string - The canonical path to the signed resource.
 - resource
Group stringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - cache
Control string - The response header override for cache control.
 - content
Disposition string - The response header override for content disposition.
 - content
Encoding string - The response header override for content encoding.
 - content
Language string - The response header override for content language.
 - content
Type string - The response header override for content type.
 - i
PAddress stringOr Range  - 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.
 - key
To stringSign  - The key to sign the account SAS token with.
 - partition
Key stringEnd  - The end of partition key.
 - partition
Key stringStart  - 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
Http
Protocol  - The protocol permitted for a request made with the account SAS.
 - resource
string | Signed
Resource  - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
 - row
Key stringEnd  - The end of row key.
 - row
Key stringStart  - The start of row key.
 - string
 - The time at which the shared access signature becomes invalid.
 - 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.
 - canonicalized_
resource str - The canonical path to the signed resource.
 - resource_
group_ strname  - 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_ straddress_ or_ range  - 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_ strsign  - The key to sign the account SAS token with.
 - partition_
key_ strend  - The end of partition key.
 - partition_
key_ strstart  - 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
Http
Protocol  - The protocol permitted for a request made with the account SAS.
 - resource
str | Signed
Resource  - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
 - row_
key_ strend  - The end of row key.
 - row_
key_ strstart  - The start of row key.
 - str
 - The time at which the shared access signature becomes invalid.
 - str
 - The time at which the SAS becomes valid.
 
- account
Name 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.
 - canonicalized
Resource String - The canonical path to the signed resource.
 - resource
Group StringName  - The name of the resource group within the user's subscription. The name is case insensitive.
 - cache
Control String - The response header override for cache control.
 - content
Disposition String - The response header override for content disposition.
 - content
Encoding String - The response header override for content encoding.
 - content
Language String - The response header override for content language.
 - content
Type String - The response header override for content type.
 - i
PAddress StringOr Range  - 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.
 - key
To StringSign  - The key to sign the account SAS token with.
 - partition
Key StringEnd  - The end of partition key.
 - partition
Key StringStart  - 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).
 - row
Key StringEnd  - The end of row key.
 - row
Key StringStart  - The start of row key.
 - String
 - The time at which the shared access signature becomes invalid.
 - String
 - The time at which the SAS becomes valid.
 
listStorageAccountServiceSAS Result
The following output properties are available:
- Service
Sas stringToken  - List service SAS credentials of specific resource.
 
- Service
Sas stringToken  - List service SAS credentials of specific resource.
 
- service
Sas StringToken  - List service SAS credentials of specific resource.
 
- service
Sas stringToken  - List service SAS credentials of specific resource.
 
- service_
sas_ strtoken  - List service SAS credentials of specific resource.
 
- service
Sas StringToken  - List service SAS credentials of specific resource.
 
Supporting Types
HttpProtocol 
Permissions
SignedResource 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0