ResourceGroupName: myresourcegroup, StorageAccountName: mystorageaccount
Name State Source KeyVaultKeyUri
---- ----- ------ --------------
scope1 Enabled Microsoft.Keyvault https://keyvalutname.vault.azure.net:443/keys/keyname
scope2 Enabled Microsoft.Storage
This command lists all enabled encryption scopes of a Storage account, with a max page size of 10 encryption scopes included in each list response.
If there are more than 10 encryption scopes to be listed, the command will still list all the encryption scopes, but with multiple requests sent and responses received.
Example 4: List all disabled encryption scopes with names starting with "test" of a Storage account
ResourceGroupName: myresourcegroup, StorageAccountName: mystorageaccount
Name State Source KeyVaultKeyUri
---- ----- ------ --------------
testscope1 Disabled Microsoft.Keyvault https://keyvalutname.vault.azure.net:443/keys/keyname
testscope2 Disabled Microsoft.Storage
This command lists all disabled encryption scopes with names starting with "test" of a Storage account.
The parameter "Filter" specifies the prefix of the encryption scopes listed, and it should be in format of "startswith(name, {prefixValue})".
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.