SAS authentication in Service Bus is configured with named Shared Access Authorization Rules having associated access rights, and a pair of primary and secondary cryptographic keys. The keys are 256-bit values in Base64 representation. You can configure rules at the namespace level, on Service Bus.
-->The New-AzServiceBusAuthorizationRuleSASToken cmdlet generates a Shared Access Signature (SAS) token for an Azure Eventhub Namesapce or Azure Eventhub
Example 1
Generate SAS token for the given authorixation rule for Namespace with start and expiry time.
Example 2
Generate SAS token for the given authorixation rule for Namespace with expiry time.
ARM ResourceId of the Authoraization Rule
Type: | String |
Aliases: | ResourceId |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Expiry Time
How to verify dkim key. The default selector prefix for the G Suite domain key is google. When you generate the key, you can change the default selector prefix from google to the text of your choice, and use the new. After you generate your domain key and add the key to your domain record, turn on DKIM signing. Important: It can take up to 48 hours for your DNS record updates to take effect. If you turn on DKIM signing before the records update, the DKIM domain key isn't found. If the domain key isn't found, Gmail displays a warning message. Turn on DKIM signing.
Type: | System.Nullable`1[System.DateTime] |
Position: | 2 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Key Type
Type: | String |
Position: | 1 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Start Time
Type: | System.Nullable`1[System.DateTime] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs.The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
Microsoft.Azure.Commands.ServiceBus.Models.PSSharedAccessSignatureAttributes