You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@planetarium/account-aws-kms

Package Overview
Dependencies
4
Maintainers
0
Versions
496
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planetarium/account-aws-kms

Libplanet account implementation using AWS KMS


Version published
Maintainers
0
Created

Readme

Source

@planetarium/account-aws-kms

An npm package for providing AwsKmsKeyStore, an implementation of KeyStore from @planetarium/account that uses AWS KMS as the backend.

Required permissions

MethodRequired permissionsRequired for AwsKmsKeyStoreOptions.scopingTags
AwsKmsKeyStore.list()kms:ListKeyskms:ListResourceTags
AwsKmsKeyStore.get()kms:ListKeyskms:ListResourceTags
AwsKmsKeyStore.generate()kms:CreateKey, kms:GetPublicKeykms:TagResource
AwsKmsKeyStore.delete()kms:ScheduleKeyDeletion
AwsKmsAccount.sign()1kms:Sign

Replace [NUMERIC_ROOT_ACCOUNT_ID] with your [12-digit root account ID][AWSId]:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "kms:GetPublicKey",
        "kms:ScheduleKeyDeletion",
        "kms:DescribeKey",
        "kms:ListResourceTags",
        "kms:Sign",
        "kms:TagResource"
      ],
      "Resource": "arn:aws:kms:*:[NUMERIC_ROOT_ACCOUNT_ID]:key/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "kms:ListKeys",
        "kms:CreateKey"
      ],
      "Resource": "*"
    }
  ]
}

Footnotes

  1. An AwsKmsAccount instance can be obtained from AwsKmsKeyStore.get(). [AWSId]: https://docs.aws.amazon.com/signin/latest/userguide/FindingYourAWSId.html

Keywords

FAQs

Package last updated on 17 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc