depstrive

2.0.0 • Public • Published

depstrive

Multi-tool for missing CI/CD features

Usage

Depstrive supported commands:

execWithAssume

execWithAssume sub-command uses your default AWS credentials to assume role. It uses assumed role to execute command with permissions of this role.

Application follows order of recommendations to retrieve current credentials.

⚠️ Breaking Change

Since version 2.0.0 there is a breaking change which was introduced by dependency upgrade and depstrive doesn't recognize double dash anymore properly. Put your command in double quotes to be sure that all subcommand parameters will be passed to your command and not depstrive itself

Example usage:

npx depstrive execWithAssume -r arn:aws:iam::account-id:role/role-name-with-path -l info "aws sts get-caller-identity"

Options

depstrive execWithAssume <cmd...>

Run command with AWS role assumed.

Options:
  --version        Show version number                                 [boolean]
  --log-level, -l  Log Level
                  [choices: "debug", "info", "warn", "error"] [default: "error"]
  --role-arn, -r   AWS Assume Role arn                                [required]
  -h, --help       Show help                                           [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i depstrive

Weekly Downloads

23

Version

2.0.0

License

MIT

Unpacked Size

8.51 kB

Total Files

8

Last publish

Collaborators

  • radekl
  • stale.pettersen.schibsted