-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support for signed Lambda functions #1108
Comments
Just checked few configurations for (non- )signed layer/functions. The good news is that you can add a signed layer to a non-signed lambda function. But supporting signed layers will require to also publish the signing profiles ARNs and add documentation steps so customers can modify their lambda code signing configurations, and redeploy the functions. Another topic to discuss is "Signature validity period" settings for the signer. The maximum period is 11 years. Whatever period we choose, the public layer can't be used if the code signer is configured with the "enforce" policy. Overall I think this is a feature we should adopt in the future and sign all the layers to add extra security. Once we have the new layer publishing pipeline in place I will look into this feature request and see how we can reduce the overhead to support it. |
Hey everyone! For ease of reading, here are some definitions:
1 - Non-signed Lambda function + signed Powertools layer 2 - Signed Lambda function + non-signed Powertools layer "additionalEventData": {
"layers": [
{
"layerArn": "arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV2:31",
"signatureStatus": "MISMATCH"
}
]
}, 3 - Signed Lambda function + Signed Powertools layer 4 - Signed Lambda function + Signed Powertools layer with Signing Profile canceled The validity period of a Signing Profile Signature validity period - 1 month 5 - Signed Lambda function + Signed Powertools layer with Signing Profile revoked Questions Final considerations:
Thank you so much. |
More regions added for signer? boto/botocore@65dc6b6 |
Hmm I don't think so! This looks like just a few endpoints for the FIPS standard. |
Today I spoke with @sthulb about the 2 missing points for us to make the decision to implement or not. Below I leave more details of what was discussed.
As soon as I have any updates on this I will update again on this issue. |
Adding the label "On Hold" because I still couldn't work on the documentation to describe the flow of these signing steps. Planning to finish this by the end of June. |
Use case
When using code signing feature, any Lambda Layer must be also signed. This means customers using this feature can't use our public Lambda Layers, as it's not currently signed.
What's not clear yet is whether a signed Lambda Layer can be used by a non-signed Lambda function.
Solution/User Experience
Lambda Powertools for Python maintainers to create a Code Signing Profile, sign Lambda Layers, and share its ARN within the documentation.
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: