depstrive
v2.0.0
Published
CI/CD Multi-tool
Downloads
101
Readme
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.
:warning: 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]