Skip to content

Instantly share code, notes, and snippets.

@john-auld
Created July 10, 2023 21:10
Show Gist options
  • Save john-auld/70aa5a6b77957941a13d900e273da329 to your computer and use it in GitHub Desktop.
Save john-auld/70aa5a6b77957941a13d900e273da329 to your computer and use it in GitHub Desktop.
Calculate AWS SHA 256 Hash for Lambda

A hash value is provided for files used to load code on Lambda, see Code > Code Properties > SHA256 hash.

The hash value of a file can be found as shown below.

openssl dgst -sha256 -binary /file/path | base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment