change-aws-credentials

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 1 Imported by: 0

README

change-aws-credentials

Build Status

A simple tool to change your AWS credentials quickly from the commandline.

Currently supports changing your password, will eventually support changing your MFA and Access/Secret Keys

Prerequisites

Your AWS users must have the ability to change their own IAM credentials. You can see how to configure this here

Installation

OS X

Install via homebrew: brew install jaxxstorm/tap/change-aws-credentials

Linux

Install the Go binary and place it in your $PATH. You can download the latest version using this handy one-liner:

curl -s https://api.github.com/repos/jaxxstorm/change-aws-credentials/releases/latest | jq -r '.assets[]| select(.browser_download_url | contains("linux")) | .browser_download_url' | wget -i -
Windows

Download the latest release from the releases page and install as appropriate.

Usage

Allows users to quickly reset their AWS credentials without
having to burden an administrator

Usage:
  change-aws-credentials [flags]
  change-aws-credentials [command]

Available Commands:
  help        Help about any command
  keys        Rotate your AWS keys
  password    Change your AWS Password

Flags:
  -P, --awsprofile string   AWS Profile to Change Credentials for
      --config string       config file (default is $HOME/.change-aws-password.yaml)
  -h, --help                help for change-aws-credentials

Use "change-aws-credentials [command] --help" for more information about a command.

Profiles

You can specify the AWS profile you want to change the password for using the -P flag. If you don't explicitly specify this, the tool will warn you which profile you're changing using by checking the AWS_PROFILE environment variable

Building

If you want to contribute, we use glide for dependency management, so it should be as simple as:

  • cloning this repo into $GOPATH/src/github.com/jaxxstorm/change-aws-credentials
  • run glide install from the directory
  • run go build -o change-aws-credentials main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
aws

Jump to

Keyboard shortcuts

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