Skip to content

Commit 35c43d1

Browse files
committed
Added missing hexkey code from blob post
Signed-off-by: David Söderlund <[email protected]>
1 parent 7d47287 commit 35c43d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/_posts/2024-04-28-azure-blob-storage-from-curl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ STORAGE_CONTAINER=${STORAGE_CONTAINER:-$3}
6262
BLOB_PATH=${BLOB_PATH:-$4}
6363
FILE_PATH=${FILE_PATH:-$5}
6464

65+
# Signing key
66+
decoded_hex_key="$(echo -n $STORAGE_ACCOUNT_KEY | base64 -d -w0 | xxd -p -c256)"
67+
6568
BLOB_LENGTH=$(wc -c <$FILE_PATH)
6669
BLOB_TYPE="BlockBlob"
6770

0 commit comments

Comments
 (0)