Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/rds-signer

Package Overview
Dependencies
Maintainers
5
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/rds-signer

RDS utility for generating a password that can be used for IAM authentication to an RDS DB.

  • 3.637.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
191K
increased by14.17%
Maintainers
5
Weekly downloads
 
Created

What is @aws-sdk/rds-signer?

@aws-sdk/rds-signer is an AWS SDK package that allows you to generate an authentication token for connecting to an Amazon RDS database. This token can be used in place of a password when connecting to the database, providing a secure way to authenticate without hardcoding credentials.

What are @aws-sdk/rds-signer's main functionalities?

Generate Authentication Token

This feature allows you to generate an authentication token for connecting to an Amazon RDS database. The token can be used in place of a password, providing a secure way to authenticate without hardcoding credentials.

const { RDSClient, CreateDBInstanceCommand } = require('@aws-sdk/client-rds');
const { RDSAuthTokenGenerator } = require('@aws-sdk/rds-signer');

const client = new RDSClient({ region: 'us-west-2' });
const signer = new RDSAuthTokenGenerator(client);

const authToken = signer.getAuthToken({
  hostname: 'mydbinstance.123456789012.us-west-2.rds.amazonaws.com',
  port: 3306,
  username: 'mydbuser'
});

console.log(`Generated Auth Token: ${authToken}`);

Other packages similar to @aws-sdk/rds-signer

FAQs

Package last updated on 22 Aug 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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc