Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
serverless-plugin-lambda-account-access
Advanced tools
A Serverless plugin to allow other accounts to invoke your Lambda functions
Add policies and/or roles to allow cross-account access to your functions.
serverless.yml
service: sample
plugins:
- serverless-plugin-lambda-account-access
provider:
access:
groups:
api: # group has both role and policy access configured
role:
- name: sample-${self:custom.stage}-lambda-api-${self:custom.region}
principals: # can be defined as a single value or an array
- 222222222222 # principal as accountId
- 'arn:aws:iam::333333333333:root' # principal as ARN
- Fn::Import: cloudformation-output-arn-2 # principal as CloudFormation Output Value ARN
allowTagSession: True # can optionally be defined to include sts:TagSession in assume role policy
maxSessionDuration: 3600 # can optionally be defined to control max duration of an assume role session
policy:
principals:
- 111111111111
- 'arn:aws:iam::222222222222:root'
- Fn::Import: cloudformation-output-arn
other:
policy:
principals: 333333333333
functions:
function1: # access is not allowed
function2:
allowAccess: api # allow access for principals specified in api group only
function3:
allowAccess: # allow access for principals specified in both api and other
- api
- other
FAQs
A Serverless plugin to allow other accounts to invoke your Lambda functions
The npm package serverless-plugin-lambda-account-access receives a total of 5 weekly downloads. As such, serverless-plugin-lambda-account-access popularity was classified as not popular.
We found that serverless-plugin-lambda-account-access demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.