npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_secretsmanager

v5.0.0

Published

DataFire integration for AWS Secrets Manager

Downloads

5

Readme

@datafire/amazonaws_secretsmanager

Client library for AWS Secrets Manager

Installation and Usage

npm install --save @datafire/amazonaws_secretsmanager
let amazonaws_secretsmanager = require('@datafire/amazonaws_secretsmanager').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_secretsmanager.CancelRotateSecret({
  "SecretId": ""
}).then(data => {
  console.log(data);
});

Description

AWS Secrets Manager API Reference AWS Secrets Manager is a web service that enables you to store, manage, and retrieve, secrets. This guide provides descriptions of the Secrets Manager API. For more information about using this service, see the AWS Secrets Manager User Guide. API Version This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17. As an alternative to using the API directly, you can use one of the AWS SDKs, which consist of libraries and sample code for various programming languages and platforms (such as Java, Ruby, .NET, iOS, and Android). The SDKs provide a convenient way to create programmatic access to AWS Secrets Manager. For example, the SDKs take care of cryptographically signing requests, managing errors, and retrying requests automatically. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services. We recommend that you use the AWS SDKs to make programmatic API calls to Secrets Manager. However, you also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn more about the Secrets Manager HTTP Query API, see Making Query Requests in the AWS Secrets Manager User Guide. Secrets Manager supports GET and POST requests for all actions. That is, the API doesn't require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request. Support and Feedback for AWS Secrets Manager We welcome your feedback. Send your comments to [email protected], or post your feedback and questions in the AWS Secrets Manager Discussion Forum. For more information about the AWS Discussion Forums, see Forums Help. How examples are presented The JSON that AWS Secrets Manager expects as your request parameters and that the service returns as a response to HTTP query requests are single, long strings without line breaks or white space formatting. The JSON shown in the examples is formatted with both line breaks and white space to improve readability. When example input parameters would also result in long strings that extend beyond the screen, we insert line breaks to enhance readability. You should always submit the input as a single JSON text string. Logging API Requests AWS Secrets Manager supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information that's collected by AWS CloudTrail, you can determine which requests were successfully made to Secrets Manager, who made the request, when it was made, and so on. For more about AWS Secrets Manager and its support for AWS CloudTrail, see Logging AWS Secrets Manager Events with AWS CloudTrail in the AWS Secrets Manager User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.

Actions

CancelRotateSecret

amazonaws_secretsmanager.CancelRotateSecret({
  "SecretId": ""
}, context)

Input

Output

CreateSecret

amazonaws_secretsmanager.CreateSecret({
  "Name": ""
}, context)

Input

Output

DeleteSecret

amazonaws_secretsmanager.DeleteSecret({
  "SecretId": ""
}, context)

Input

Output

DescribeSecret

amazonaws_secretsmanager.DescribeSecret({
  "SecretId": ""
}, context)

Input

Output

GetRandomPassword

amazonaws_secretsmanager.GetRandomPassword({}, context)

Input

Output

GetSecretValue

amazonaws_secretsmanager.GetSecretValue({
  "SecretId": ""
}, context)

Input

Output

ListSecretVersionIds

amazonaws_secretsmanager.ListSecretVersionIds({
  "SecretId": ""
}, context)

Input

Output

ListSecrets

amazonaws_secretsmanager.ListSecrets({}, context)

Input

Output

PutSecretValue

amazonaws_secretsmanager.PutSecretValue({
  "SecretId": ""
}, context)

Input

Output

RestoreSecret

amazonaws_secretsmanager.RestoreSecret({
  "SecretId": ""
}, context)

Input

Output

RotateSecret

amazonaws_secretsmanager.RotateSecret({
  "SecretId": ""
}, context)

Input

Output

TagResource

amazonaws_secretsmanager.TagResource({
  "SecretId": "",
  "Tags": []
}, context)

Input

Output

Output schema unknown

UntagResource

amazonaws_secretsmanager.UntagResource({
  "SecretId": "",
  "TagKeys": []
}, context)

Input

Output

Output schema unknown

UpdateSecret

amazonaws_secretsmanager.UpdateSecret({
  "SecretId": ""
}, context)

Input

Output

UpdateSecretVersionStage

amazonaws_secretsmanager.UpdateSecretVersionStage({
  "SecretId": "",
  "VersionStage": ""
}, context)

Input

Output

Definitions

AutomaticallyRotateAfterDaysType

  • AutomaticallyRotateAfterDaysType integer

BooleanType

  • BooleanType boolean

CancelRotateSecretRequest

  • CancelRotateSecretRequest object

CancelRotateSecretResponse

ClientRequestTokenType

  • ClientRequestTokenType string

CreateSecretRequest

CreateSecretResponse

CreatedDateType

  • CreatedDateType string

DecryptionFailure

  • DecryptionFailure object: Secrets Manager can't decrypt the protected secret text using the provided KMS key.

DeleteSecretRequest

DeleteSecretResponse

DeletedDateType

  • DeletedDateType string

DeletionDateType

  • DeletionDateType string

DescribeSecretRequest

DescribeSecretResponse

DescriptionType

  • DescriptionType string

EncryptionFailure

  • EncryptionFailure object: Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the customer master key (CMK) is available, enabled, and not in an invalid state. For more information, see How Key State Affects Use of a Customer Master Key.

ErrorMessage

  • ErrorMessage string

ExcludeCharactersType

  • ExcludeCharactersType string

ExcludeLowercaseType

  • ExcludeLowercaseType boolean

ExcludeNumbersType

  • ExcludeNumbersType boolean

ExcludePunctuationType

  • ExcludePunctuationType boolean

ExcludeUppercaseType

  • ExcludeUppercaseType boolean

GetRandomPasswordRequest

GetRandomPasswordResponse

GetSecretValueRequest

GetSecretValueResponse

IncludeSpaceType

  • IncludeSpaceType boolean

InternalServiceError

  • InternalServiceError object: An error occurred on the server side.

InvalidNextTokenException

  • InvalidNextTokenException object: You provided an invalid NextToken value.

InvalidParameterException

  • InvalidParameterException object: You provided an invalid value for a parameter.

InvalidRequestException

  • InvalidRequestException object: You provided a parameter value that is not valid for the current state of the resource. For example, if you try to enable rotation on a secret, you must already have a Lambda function ARN configured or included as a parameter in this call.

KmsKeyIdType

  • KmsKeyIdType string

LastAccessedDateType

  • LastAccessedDateType string

LastChangedDateType

  • LastChangedDateType string

LastRotatedDateType

  • LastRotatedDateType string

LimitExceededException

  • LimitExceededException object: The request failed because it would exceed one of the Secrets Manager internal limits.

ListSecretVersionIdsRequest

ListSecretVersionIdsResponse

ListSecretsRequest

ListSecretsResponse

MalformedPolicyDocumentException

  • MalformedPolicyDocumentException object: The policy document that you provided isn't valid.

MaxResultsType

  • MaxResultsType integer

NameType

  • NameType string

NextTokenType

  • NextTokenType string

PasswordLengthType

  • PasswordLengthType integer

PutSecretValueRequest

PutSecretValueResponse

RandomPasswordType

  • RandomPasswordType string

RecoveryWindowInDaysType

  • RecoveryWindowInDaysType integer

RequireEachIncludedTypeType

  • RequireEachIncludedTypeType boolean

ResourceExistsException

  • ResourceExistsException object: A resource with the ID you requested already exists.

ResourceNotFoundException

  • ResourceNotFoundException object: We can't find the resource that you asked for.

RestoreSecretRequest

RestoreSecretResponse

RotateSecretRequest

RotateSecretResponse

RotationEnabledType

  • RotationEnabledType boolean

RotationLambdaARNType

  • RotationLambdaARNType string

RotationRulesType

SecretARNType

  • SecretARNType string

SecretBinaryType

  • SecretBinaryType string

SecretIdType

  • SecretIdType string

SecretListEntry

SecretListType

SecretNameType

  • SecretNameType string

SecretStringType

  • SecretStringType string

SecretVersionIdType

  • SecretVersionIdType string

SecretVersionStageType

  • SecretVersionStageType string

SecretVersionStagesType

SecretVersionsListEntry

SecretVersionsListType

SecretVersionsToStagesMapType

Tag

TagKeyListType

TagKeyType

  • TagKeyType string

TagListType

  • TagListType array

TagResourceRequest

TagValueType

  • TagValueType string

UntagResourceRequest

UpdateSecretRequest

UpdateSecretResponse

UpdateSecretVersionStageRequest

UpdateSecretVersionStageResponse