An open API service indexing awesome lists of open source software.

https://github.com/0xch4z/credenv

Add your cloud credentials to your environment in a single command
https://github.com/0xch4z/credenv

cli environments secrets

Last synced: 11 months ago
JSON representation

Add your cloud credentials to your environment in a single command

Awesome Lists containing this project

README

          

# credenv [![Build Status][travis-ci-badge]][travis-ci] [![GoDoc][godoc-badge]][godoc]

> Add your cloud credentials to your environment in a single command

## Installation

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

## Usage

```sh
credenv SOURCE
```

### View your credential environment variables for a given source

```sh
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

```sh
eval `credenv aws`
```

## Supported Sources

- [AWS](https://aws.com)
- [Linode](https://linode.com)
- [Pulumi](https://pulumi.io)


---

© 2019 [Charles Kenney](https://github.com/charliekenney23)

[travis-ci-badge]: https://travis-ci.org/Charliekenney23/credenv.svg?branch=master
[travis-ci]: https://travis-ci.org/Charliekenney23/credenv
[godoc-badge]: https://godoc.org/github.com/Charliekenney23/credenv?status.svg
[godoc]: https://godoc.org/github.com/Charliekenney23/credenv