< Back

Get-AzureKeyVaultManagedStorageSasDefinition

Tue Jan 29, 2019 9:50 pm

NAME Get-AzureKeyVaultManagedStorageSasDefinition



SYNOPSIS

Gets Key Vault managed Storage SAS Definitions.





SYNTAX

Get-AzureKeyVaultManagedStorageSasDefinition [-VaultName] <String> [-AccountName] <String> [-Name] <String> [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

Gets a Key Vault managed Storage SAS Definition if the name of the definition is specified. If the definition name is not specified, then all the

SAS definitions associated with the specified Key Vault managed Storage Account in the vault are listed.





PARAMETERS

-AccountName <String>

Vault name. Cmdlet constructs the FQDN of a vault based on the name and currently selected environment.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Storage sas definition name. Cmdlet constructs the FQDN of a storage sas definition from vault name, currently selected environment, storage

account name and sas definition name.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VaultName <String>

Vault name. Cmdlet constructs the FQDN of a vault based on the name and currently selected environment.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.KeyVault.Models.ManagedStorageSasDefinitionListItem,

Microsoft.Azure.Commands.KeyVault, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null]]

Microsoft.Azure.Commands.KeyVault.Models.ManagedStorageSasDefinition





NOTES









Example 1: List all Key Vault managed Storage SAS Definitions



PS C:\\> Get-AzureKeyVaultManagedStorageSasDefinition -VaultName 'myvault' -AccountName 'mystorageaccount'



Lists all the SAS definitions associated with Key Vault managed Storage Account 'mystorageaccount' managed by vault 'myvault'





Example 2: Get a Key Vault managed Storage Account



PS C:\\> Get-AzureKeyVaultManagedStorageSasDefinition -VaultName 'myvault' -AccountName 'mystorageaccount' -Name 'mysasDef'



Gets the details of SAS Definition 'mysasDef' associated with Key Vault managed Storage Account 'mystorageaccount' managed by vault 'myvault'.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... definition

https://msdn.microsoft.com/en-us/library/dn868052.aspx https://msdn.microsoft.com/en-us/library/dn868052.aspx