Skip to main content

accounts_account_sas

Creates, updates, deletes, gets or lists an accounts_account_sas resource.

Overview

Nameaccounts_account_sas
TypeResource
Idazure.storage.accounts_account_sas

Fields

The following fields are returned by SELECT queries:

OK -- returned the account SAS created for the storage account requested.

NameDatatypeDescription
accountSasTokenstringList SAS credentials of storage account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, accountName, subscriptionIdList SAS credentials of a storage account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringThe 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.
resourceGroupNamestringThe name of the resource group within the user's subscription. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

List SAS credentials of a storage account.

SELECT
accountSasToken
FROM azure.storage.accounts_account_sas
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;