We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Key Vault Managed Storage Account SAS Definition.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleClientConfig = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleAccountSAS = Azure.Storage.GetAccountSAS.Invoke(new Azure.Storage.GetAccountSASInvokeArgs
{
ConnectionString = exampleAccount.PrimaryConnectionString,
HttpsOnly = true,
ResourceTypes = new Azure.Storage.Inputs.GetAccountSASResourceTypesInputArgs
{
Service = true,
Container = false,
Object = false,
},
Services = new Azure.Storage.Inputs.GetAccountSASServicesInputArgs
{
Blob = true,
Queue = false,
Table = false,
File = false,
},
Start = "2021-04-30T00:00:00Z",
Expiry = "2023-04-30T00:00:00Z",
Permissions = new Azure.Storage.Inputs.GetAccountSASPermissionsInputArgs
{
Read = true,
Write = true,
Delete = false,
List = false,
Add = true,
Create = true,
Update = false,
Process = false,
},
});
var exampleKeyVault = new Azure.KeyVault.KeyVault("exampleKeyVault", new Azure.KeyVault.KeyVaultArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
TenantId = data.Azurerm_client_config.Current.Tenant_id,
SkuName = "standard",
AccessPolicies =
{
new Azure.KeyVault.Inputs.KeyVaultAccessPolicyArgs
{
TenantId = data.Azurerm_client_config.Current.Tenant_id,
ObjectId = data.Azurerm_client_config.Current.Object_id,
SecretPermissions =
{
"Get",
"Delete",
},
StoragePermissions =
{
"Get",
"List",
"Set",
"SetSAS",
"GetSAS",
"DeleteSAS",
"Update",
"RegenerateKey",
},
},
},
});
var test = new Azure.KeyVault.ManagedStorageAccount("test", new Azure.KeyVault.ManagedStorageAccountArgs
{
KeyVaultId = exampleKeyVault.Id,
StorageAccountId = exampleAccount.Id,
StorageAccountKey = "key1",
RegenerateKeyAutomatically = false,
RegenerationPeriod = "P1D",
});
var exampleManagedStorageAccountSasTokenDefinition = new Azure.KeyVault.ManagedStorageAccountSasTokenDefinition("exampleManagedStorageAccountSasTokenDefinition", new Azure.KeyVault.ManagedStorageAccountSasTokenDefinitionArgs
{
ValidityPeriod = "P1D",
ManagedStorageAccountId = azurerm_key_vault_managed_storage_account.Example.Id,
SasTemplateUri = exampleAccountSAS.Apply(exampleAccountSAS => exampleAccountSAS.Sas),
SasType = "account",
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleAccountSAS := storage.GetAccountSASOutput(ctx, storage.GetAccountSASOutputArgs{
ConnectionString: exampleAccount.PrimaryConnectionString,
HttpsOnly: pulumi.Bool(true),
ResourceTypes: &storage.GetAccountSASResourceTypesArgs{
Service: pulumi.Bool(true),
Container: pulumi.Bool(false),
Object: pulumi.Bool(false),
},
Services: &storage.GetAccountSASServicesArgs{
Blob: pulumi.Bool(true),
Queue: pulumi.Bool(false),
Table: pulumi.Bool(false),
File: pulumi.Bool(false),
},
Start: pulumi.String("2021-04-30T00:00:00Z"),
Expiry: pulumi.String("2023-04-30T00:00:00Z"),
Permissions: &storage.GetAccountSASPermissionsArgs{
Read: pulumi.Bool(true),
Write: pulumi.Bool(true),
Delete: pulumi.Bool(false),
List: pulumi.Bool(false),
Add: pulumi.Bool(true),
Create: pulumi.Bool(true),
Update: pulumi.Bool(false),
Process: pulumi.Bool(false),
},
}, nil)
exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
TenantId: pulumi.Any(data.Azurerm_client_config.Current.Tenant_id),
SkuName: pulumi.String("standard"),
AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
&keyvault.KeyVaultAccessPolicyArgs{
TenantId: pulumi.Any(data.Azurerm_client_config.Current.Tenant_id),
ObjectId: pulumi.Any(data.Azurerm_client_config.Current.Object_id),
SecretPermissions: pulumi.StringArray{
pulumi.String("Get"),
pulumi.String("Delete"),
},
StoragePermissions: pulumi.StringArray{
pulumi.String("Get"),
pulumi.String("List"),
pulumi.String("Set"),
pulumi.String("SetSAS"),
pulumi.String("GetSAS"),
pulumi.String("DeleteSAS"),
pulumi.String("Update"),
pulumi.String("RegenerateKey"),
},
},
},
})
if err != nil {
return err
}
_, err = keyvault.NewManagedStorageAccount(ctx, "test", &keyvault.ManagedStorageAccountArgs{
KeyVaultId: exampleKeyVault.ID(),
StorageAccountId: exampleAccount.ID(),
StorageAccountKey: pulumi.String("key1"),
RegenerateKeyAutomatically: pulumi.Bool(false),
RegenerationPeriod: pulumi.String("P1D"),
})
if err != nil {
return err
}
_, err = keyvault.NewManagedStorageAccountSasTokenDefinition(ctx, "exampleManagedStorageAccountSasTokenDefinition", &keyvault.ManagedStorageAccountSasTokenDefinitionArgs{
ValidityPeriod: pulumi.String("P1D"),
ManagedStorageAccountId: pulumi.Any(azurerm_key_vault_managed_storage_account.Example.Id),
SasTemplateUri: exampleAccountSAS.ApplyT(func(exampleAccountSAS storage.GetAccountSASResult) (string, error) {
return exampleAccountSAS.Sas, nil
}).(pulumi.StringOutput),
SasType: pulumi.String("account"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleClientConfig = azure.core.getClientConfig({});
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleAccountSAS = azure.storage.getAccountSASOutput({
connectionString: exampleAccount.primaryConnectionString,
httpsOnly: true,
resourceTypes: {
service: true,
container: false,
object: false,
},
services: {
blob: true,
queue: false,
table: false,
file: false,
},
start: "2021-04-30T00:00:00Z",
expiry: "2023-04-30T00:00:00Z",
permissions: {
read: true,
write: true,
"delete": false,
list: false,
add: true,
create: true,
update: false,
process: false,
},
});
const exampleKeyVault = new azure.keyvault.KeyVault("exampleKeyVault", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
tenantId: data.azurerm_client_config.current.tenant_id,
skuName: "standard",
accessPolicies: [{
tenantId: data.azurerm_client_config.current.tenant_id,
objectId: data.azurerm_client_config.current.object_id,
secretPermissions: [
"Get",
"Delete",
],
storagePermissions: [
"Get",
"List",
"Set",
"SetSAS",
"GetSAS",
"DeleteSAS",
"Update",
"RegenerateKey",
],
}],
});
const test = new azure.keyvault.ManagedStorageAccount("test", {
keyVaultId: exampleKeyVault.id,
storageAccountId: exampleAccount.id,
storageAccountKey: "key1",
regenerateKeyAutomatically: false,
regenerationPeriod: "P1D",
});
const exampleManagedStorageAccountSasTokenDefinition = new azure.keyvault.ManagedStorageAccountSasTokenDefinition("exampleManagedStorageAccountSasTokenDefinition", {
validityPeriod: "P1D",
managedStorageAccountId: azurerm_key_vault_managed_storage_account.example.id,
sasTemplateUri: exampleAccountSAS.apply(exampleAccountSAS => exampleAccountSAS.sas),
sasType: "account",
});
import pulumi
import pulumi_azure as azure
example_client_config = azure.core.get_client_config()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_account_sas = azure.storage.get_account_sas_output(connection_string=example_account.primary_connection_string,
https_only=True,
resource_types=azure.storage.GetAccountSASResourceTypesArgs(
service=True,
container=False,
object=False,
),
services=azure.storage.GetAccountSASServicesArgs(
blob=True,
queue=False,
table=False,
file=False,
),
start="2021-04-30T00:00:00Z",
expiry="2023-04-30T00:00:00Z",
permissions=azure.storage.GetAccountSASPermissionsArgs(
read=True,
write=True,
delete=False,
list=False,
add=True,
create=True,
update=False,
process=False,
))
example_key_vault = azure.keyvault.KeyVault("exampleKeyVault",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
tenant_id=data["azurerm_client_config"]["current"]["tenant_id"],
sku_name="standard",
access_policies=[azure.keyvault.KeyVaultAccessPolicyArgs(
tenant_id=data["azurerm_client_config"]["current"]["tenant_id"],
object_id=data["azurerm_client_config"]["current"]["object_id"],
secret_permissions=[
"Get",
"Delete",
],
storage_permissions=[
"Get",
"List",
"Set",
"SetSAS",
"GetSAS",
"DeleteSAS",
"Update",
"RegenerateKey",
],
)])
test = azure.keyvault.ManagedStorageAccount("test",
key_vault_id=example_key_vault.id,
storage_account_id=example_account.id,
storage_account_key="key1",
regenerate_key_automatically=False,
regeneration_period="P1D")
example_managed_storage_account_sas_token_definition = azure.keyvault.ManagedStorageAccountSasTokenDefinition("exampleManagedStorageAccountSasTokenDefinition",
validity_period="P1D",
managed_storage_account_id=azurerm_key_vault_managed_storage_account["example"]["id"],
sas_template_uri=example_account_sas.sas,
sas_type="account")
Example coming soon!
Create ManagedStorageAccountSasTokenDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedStorageAccountSasTokenDefinition(name: string, args: ManagedStorageAccountSasTokenDefinitionArgs, opts?: CustomResourceOptions);@overload
def ManagedStorageAccountSasTokenDefinition(resource_name: str,
args: ManagedStorageAccountSasTokenDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedStorageAccountSasTokenDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
managed_storage_account_id: Optional[str] = None,
sas_template_uri: Optional[str] = None,
sas_type: Optional[str] = None,
validity_period: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewManagedStorageAccountSasTokenDefinition(ctx *Context, name string, args ManagedStorageAccountSasTokenDefinitionArgs, opts ...ResourceOption) (*ManagedStorageAccountSasTokenDefinition, error)public ManagedStorageAccountSasTokenDefinition(string name, ManagedStorageAccountSasTokenDefinitionArgs args, CustomResourceOptions? opts = null)
public ManagedStorageAccountSasTokenDefinition(String name, ManagedStorageAccountSasTokenDefinitionArgs args)
public ManagedStorageAccountSasTokenDefinition(String name, ManagedStorageAccountSasTokenDefinitionArgs args, CustomResourceOptions options)
type: azure:keyvault:ManagedStorageAccountSasTokenDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagedStorageAccountSasTokenDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagedStorageAccountSasTokenDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagedStorageAccountSasTokenDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedStorageAccountSasTokenDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedStorageAccountSasTokenDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managedStorageAccountSasTokenDefinitionResource = new Azure.KeyVault.ManagedStorageAccountSasTokenDefinition("managedStorageAccountSasTokenDefinitionResource", new()
{
ManagedStorageAccountId = "string",
SasTemplateUri = "string",
SasType = "string",
ValidityPeriod = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := keyvault.NewManagedStorageAccountSasTokenDefinition(ctx, "managedStorageAccountSasTokenDefinitionResource", &keyvault.ManagedStorageAccountSasTokenDefinitionArgs{
ManagedStorageAccountId: pulumi.String("string"),
SasTemplateUri: pulumi.String("string"),
SasType: pulumi.String("string"),
ValidityPeriod: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var managedStorageAccountSasTokenDefinitionResource = new ManagedStorageAccountSasTokenDefinition("managedStorageAccountSasTokenDefinitionResource", ManagedStorageAccountSasTokenDefinitionArgs.builder()
.managedStorageAccountId("string")
.sasTemplateUri("string")
.sasType("string")
.validityPeriod("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
managed_storage_account_sas_token_definition_resource = azure.keyvault.ManagedStorageAccountSasTokenDefinition("managedStorageAccountSasTokenDefinitionResource",
managed_storage_account_id="string",
sas_template_uri="string",
sas_type="string",
validity_period="string",
name="string",
tags={
"string": "string",
})
const managedStorageAccountSasTokenDefinitionResource = new azure.keyvault.ManagedStorageAccountSasTokenDefinition("managedStorageAccountSasTokenDefinitionResource", {
managedStorageAccountId: "string",
sasTemplateUri: "string",
sasType: "string",
validityPeriod: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:keyvault:ManagedStorageAccountSasTokenDefinition
properties:
managedStorageAccountId: string
name: string
sasTemplateUri: string
sasType: string
tags:
string: string
validityPeriod: string
ManagedStorageAccountSasTokenDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedStorageAccountSasTokenDefinition resource accepts the following input properties:
- Managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- Sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- Sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - Validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- Name string
- The name which should be used for this SAS Definition.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the SAS Definition.
- Managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- Sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- Sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - Validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- Name string
- The name which should be used for this SAS Definition.
- map[string]string
- A mapping of tags which should be assigned to the SAS Definition.
- managed
Storage StringAccount Id - The ID of the Managed Storage Account.
- sas
Template StringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type String - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - validity
Period String - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- name String
- The name which should be used for this SAS Definition.
- Map<String,String>
- A mapping of tags which should be assigned to the SAS Definition.
- managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- name string
- The name which should be used for this SAS Definition.
- {[key: string]: string}
- A mapping of tags which should be assigned to the SAS Definition.
- managed_
storage_ straccount_ id - The ID of the Managed Storage Account.
- sas_
template_ struri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas_
type str - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - validity_
period str - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- name str
- The name which should be used for this SAS Definition.
- Mapping[str, str]
- A mapping of tags which should be assigned to the SAS Definition.
- managed
Storage StringAccount Id - The ID of the Managed Storage Account.
- sas
Template StringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type String - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - validity
Period String - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- name String
- The name which should be used for this SAS Definition.
- Map<String>
- A mapping of tags which should be assigned to the SAS Definition.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedStorageAccountSasTokenDefinition resource produces the following output properties:
Look up Existing ManagedStorageAccountSasTokenDefinition Resource
Get an existing ManagedStorageAccountSasTokenDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagedStorageAccountSasTokenDefinitionState, opts?: CustomResourceOptions): ManagedStorageAccountSasTokenDefinition@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
managed_storage_account_id: Optional[str] = None,
name: Optional[str] = None,
sas_template_uri: Optional[str] = None,
sas_type: Optional[str] = None,
secret_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
validity_period: Optional[str] = None) -> ManagedStorageAccountSasTokenDefinitionfunc GetManagedStorageAccountSasTokenDefinition(ctx *Context, name string, id IDInput, state *ManagedStorageAccountSasTokenDefinitionState, opts ...ResourceOption) (*ManagedStorageAccountSasTokenDefinition, error)public static ManagedStorageAccountSasTokenDefinition Get(string name, Input<string> id, ManagedStorageAccountSasTokenDefinitionState? state, CustomResourceOptions? opts = null)public static ManagedStorageAccountSasTokenDefinition get(String name, Output<String> id, ManagedStorageAccountSasTokenDefinitionState state, CustomResourceOptions options)resources: _: type: azure:keyvault:ManagedStorageAccountSasTokenDefinition get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- Name string
- The name which should be used for this SAS Definition.
- Sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- Sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - Secret
Id string - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the SAS Definition.
- Validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- Managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- Name string
- The name which should be used for this SAS Definition.
- Sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- Sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - Secret
Id string - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- map[string]string
- A mapping of tags which should be assigned to the SAS Definition.
- Validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- managed
Storage StringAccount Id - The ID of the Managed Storage Account.
- name String
- The name which should be used for this SAS Definition.
- sas
Template StringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type String - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - secret
Id String - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- Map<String,String>
- A mapping of tags which should be assigned to the SAS Definition.
- validity
Period String - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- managed
Storage stringAccount Id - The ID of the Managed Storage Account.
- name string
- The name which should be used for this SAS Definition.
- sas
Template stringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type string - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - secret
Id string - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- {[key: string]: string}
- A mapping of tags which should be assigned to the SAS Definition.
- validity
Period string - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- managed_
storage_ straccount_ id - The ID of the Managed Storage Account.
- name str
- The name which should be used for this SAS Definition.
- sas_
template_ struri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas_
type str - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - secret_
id str - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- Mapping[str, str]
- A mapping of tags which should be assigned to the SAS Definition.
- validity_
period str - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
- managed
Storage StringAccount Id - The ID of the Managed Storage Account.
- name String
- The name which should be used for this SAS Definition.
- sas
Template StringUri - The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period.
- sas
Type String - The type of SAS token the SAS definition will create. Possible values are
accountandservice. - secret
Id String - The ID of the Secret that is created by Managed Storage Account SAS Definition.
- Map<String>
- A mapping of tags which should be assigned to the SAS Definition.
- validity
Period String - Validity period of SAS token. Value needs to be in ISO 8601 duration format.
Import
Key Vaults can be imported using the resource id, e.g.
$ pulumi import azure:keyvault/managedStorageAccountSasTokenDefinition:ManagedStorageAccountSasTokenDefinition example https://example-keyvault.vault.azure.net/storage/exampleStorageAcc01/sas/exampleSasDefinition01
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
