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

aws-asap

v0.2.4

Published

AWS Secrets and Parameters Search CLI Tool

Downloads

5

Readme

AWS ASAP - The AWS Secrets and Parameters Searching Tool

oclif Version Downloads/week License

Requirements

You will need to have an active AWS session in your current shell against the target account in order to retrieve Secrets and Parameters.

The following permissions are required for each of the resources you're attempting to retrieve:

  • ps

    • ssm:DescribeParameters
    • ssm:GetParameters
    • kms:Decrypt (if using SecureString type with own CMK rather than AWS-managed)
  • sm

    • secretsmanager:ListSecrets
    • secretsmanager:GetSecretValue
    • kms:Decrypt (if using own CMK rather than AWS-managed)

Usage

$ npm install -g aws-asap
$ asap COMMAND
running command...
$ asap (-v|--version|version)
aws-asap/0.2.3 darwin-x64 node-v12.18.2
$ asap --help [COMMAND]
USAGE
  $ asap COMMAND
...

Commands

asap autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ asap autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ asap autocomplete
  $ asap autocomplete bash
  $ asap autocomplete zsh
  $ asap autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

asap help [COMMAND]

display help for asap

USAGE
  $ asap help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

asap ps

search parameters in AWS SSM Parameter Store

USAGE
  $ asap ps

OPTIONS
  -d, --disable-decryption       disable decryption of SecureString type params by default
  -h, --help                     show CLI help
  -n, --max-results=max-results  limit for amount of results returned, default is 50
  -r, --region=region            AWS region override
  -t, --term=term                term to search
  -x, --extended                 show extra columns
  --all                          retrieve every parameter in the region
  --csv                          output is csv format
  --no-header                    hide table header from output
  --no-limit                     retrieve every parameter for the search term
  --no-truncate                  do not truncate output to fit screen

EXAMPLE
  $ asap ps -t awesome-param

See code: src/commands/ps.ts

asap sm

search parameters in AWS Secrets Manager

USAGE
  $ asap sm

OPTIONS
  -h, --help                     show CLI help
  -n, --max-results=max-results  limit for amount of results returned, default is 50
  -r, --region=region            AWS region override
  -t, --term=term                term to search
  -x, --extended                 show extra columns
  --all                          retrieve every parameter in the region
  --csv                          output is csv format
  --no-header                    hide table header from output
  --no-limit                     retrieve every parameter for the search term
  --no-truncate                  do not truncate output to fit screen

EXAMPLE
  $ asap sm -t awesome-param
  awesome param value

See code: src/commands/sm.ts