skip to Main Content

Azure – BlobClient#generateSasUrl automatically %-encode blob path

const { BlockBlobClient, BlobSASPermissions } = require("@azure/storage-blob"); const blobClient = new BlockBlobClient( "DefaultEndpointsProtocol=https;AccountName=yyyy;AccountKey=xxxx;EndpointSuffix=core.windows.net", "test", "hoge/huga/baz.txt" ); const expiresOn = new Date(); expiresOn.setMinutes(expiresOn.getMinutes() + 5); const h = blobClient.generateSasUrl({ expiresOn, permissions: BlobSASPermissions.from({ read: true })}).then((res) => { console.log(res); }); Executing this…

VIEW QUESTION

Azure DevOps release pipeline has suddenly started failing

2024-07-09T23:11:19.7718791Z Complete getting Artifacts From Template 2024-07-09T23:11:19.7719155Z Start deploying artifacts from the template. 2024-07-09T23:11:19.7722609Z Deploy dev_keyVault_linkedService of type linkedService 2024-07-09T23:11:19.9503411Z For Artifact: dev_keyVault_linkedService: ArtifactDeploymentTask status: 403; status message: Forbidden 2024-07-09T23:11:19.9506451Z Failed 2024-07-09T23:11:19.9507649Z deploy operation failed 2024-07-09T23:11:19.9509658Z An error occurred during…

VIEW QUESTION
Back To Top
Search