I am trying to leverage https://learn.microsoft.com/en-us/powershell/module/az.keyvault/set-azkeyvaultmanagedstoragesasdefinition?view=azps-9.2.0 to create a managed sas definition.
The SAS token I use as a template does work, and I am able to validate by querying my blob storage account via the following:
https://myaccount.blob.core.windows.net/lockedcontainer/checkmark.png?{sas-token}
When trying to do the same with the SAS token stored in the secret (which is retrieved via the following)
Get-AzKeyVaultSecret -VaultName {myvault} -Name {myStorageAccount}-SecretName -AsPlainText
I receive a Signature did not match error, which from some googling/research seems to be fairly generic.
The secret SAS token was generated to be active for 30 days +, and no key rotation has happened since the secret was generated.
Am I misusing the generated secret sas token?