0xch4z / credenv

Add your cloud credentials to your environment in a single command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

credenv Build Status GoDoc

Add your cloud credentials to your environment in a single command

Installation

go get -u github.com/charliekenney23/credenv/cmd/credenv

Usage

credenv SOURCE

View your credential environment variables for a given source

credenv aws
# sources credentials from ~/.aws/credentials and outputs:
# export AWS_ACCESS_KEY_ID='XXXXXXXXXXXXXXXX'
# export AWS_SECRET_ACCESS_KEY='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

Set your credential environment variables for a given source

eval `credenv aws`

Supported Sources



© 2019 Charles Kenney

About

Add your cloud credentials to your environment in a single command

License:MIT License


Languages

Language:Go 76.1%Language:Shell 20.5%Language:Makefile 3.4%