usurp

command module
v0.0.0-...-d11d850 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 10 Imported by: 0

README

usurp

Usurp is a command-line shim to assume an AWS IAM Role, and pass the credentials to the subsequent command.

Installation

usurp is provided as a statically compiled binary for Darwin (macOS, in amd64/x86_64 for traditional Intel macs, and arm64 for M1 macs), Linux (in amd64/x86_64 for Intel/AMD, and arm64 for ARM-based architectures) and Windows (amd64/x86_64 only).

The latest binaries are attached to Github releases.

Usage

usurp <role arn> <command> [<args ...>]

For example:

$ usurp arn:aws:iam::123456789012:role/my-role-name aws sts get-caller-identity

which will assume my-role-name in account 123456789012 and execute aws sts get-caller-identity.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL