{"id":13522570,"url":"https://github.com/alexandredavi/openssl-lambda-layer","last_synced_at":"2025-03-31T22:31:53.358Z","repository":{"id":45645197,"uuid":"232817148","full_name":"alexandredavi/openssl-lambda-layer","owner":"alexandredavi","description":"A layer for AWS Lambda that allows your functions to use OpenSSL binaries","archived":false,"fork":false,"pushed_at":"2024-04-26T18:43:34.000Z","size":49,"stargazers_count":49,"open_issues_count":2,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-02T06:34:13.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexandredavi.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-09T13:36:13.000Z","updated_at":"2024-05-13T07:22:11.000Z","dependencies_parsed_at":"2024-11-02T06:31:39.342Z","dependency_job_id":"2f8fd855-525f-41b6-8cb3-dcf1f0dbc424","html_url":"https://github.com/alexandredavi/openssl-lambda-layer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandredavi%2Fopenssl-lambda-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandredavi%2Fopenssl-lambda-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandredavi%2Fopenssl-lambda-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandredavi%2Fopenssl-lambda-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandredavi","download_url":"https://codeload.github.com/alexandredavi/openssl-lambda-layer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552788,"owners_count":20795829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:00:49.226Z","updated_at":"2025-03-31T22:31:53.352Z","avatar_url":"https://github.com/alexandredavi.png","language":"Shell","funding_links":[],"categories":["Layers"],"sub_categories":["Utilities"],"readme":"# OpenSSL binaries for AWS Lambda\n\nA [layer](https://aws.amazon.com/about-aws/whats-new/2018/11/aws-lambda-now-supports-custom-runtimes-and-layers/)\nfor AWS Lambda that allows your functions to use `openssl` binaries.\n\n## Getting Started\n\nYou can add this layer to any Lambda function you want.\n`PATH` already includes `/opt/bin` in Lambda, which is where it will be mounted.\n\nClick on Layers and choose \"Add a layer\", and \"Provide a layer version\nARN\" and enter the following ARN (replace `us-east-1` with the region of your Lambda):\n\n```\narn:aws:lambda:us-east-1:034541671702:layer:openssl-lambda:1\n```\n\n![Provide layer ARN](https://raw.githubusercontent.com/alexandredavi/openssl-lambda-layer/master/img/provide.PNG \"Provide layer ARN screenshot\")\n\nThen click Add, save your lambda and test it out!\n\n![Referenced layers](https://raw.githubusercontent.com/alexandredavi/openssl-lambda-layer/master/img/referenced.PNG \"Referenced layer ARN screenshot\")\n\n## Simple example on Node.js\n\n```js\nconst { execSync } = require('child_process')\n\nexports.handler = async(event) =\u003e {\n  execSync(' openssl genrsa -out testCert.key 2048', { encoding: 'utf8', stdio: 'inherit' })\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredavi%2Fopenssl-lambda-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandredavi%2Fopenssl-lambda-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredavi%2Fopenssl-lambda-layer/lists"}