Skip to content

@aws-crypto/kms-keyring-node module aws-sdk as dependency #865

Closed
@lucasvieirasilva

Description

@lucasvieirasilva

Problem:

Currently, the module @aws-crypto/kms-keyring-node uses the AWS SDK as a dependency and that makes the bundle package big for AWS Lambdas, I think this SDK should cover AWS Lambda scenarios as well.

Solution:

The aws-sdk dependency should be moved to peerDependencies in the package.json, making it possible for the clients to choose to use the AWS SDK as devDependency or explicit dependency.

Related issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions