Skip to content

Commit

Permalink
fix secret in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
charlotta-frends committed Aug 22, 2024
1 parent 4cea11b commit 3ed7d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
env_var_value_2: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_APPID }}
env_var_value_3: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_CLIENTSECRET }}
env_var_value_4: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_TENANTID }}
env_var_value_5: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_FRENDSTASKTESTCONTAINERACCESSKEY }}
env_var_value_5: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_FRENDSTASKSTESTCONTAINERACCESSKEY }}
env_var_value_6: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_URI }}
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ private string GenerateSASToken()
BlobSasBuilder blobSasBuilder = new()
{
BlobContainerName = _containerName,
StartsOn = DateTime.UtcNow.AddMinutes(-5),
ExpiresOn = DateTime.UtcNow.AddMinutes(15)
ExpiresOn = DateTime.UtcNow.AddMinutes(5)
};

blobSasBuilder.SetPermissions(BlobContainerSasPermissions.List);
Expand Down

0 comments on commit 3ed7d8e

Please sign in to comment.