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

https://github.com/grahamar/belem

CLI for aws-credentials-broker
https://github.com/grahamar/belem

aws aws-cli awscli cli credentials federated google oidc saml

Last synced: 3 months ago
JSON representation

CLI for aws-credentials-broker

Awesome Lists containing this project

README

          

# Belém - Gateway to the Amazon River

[![Build Status](https://travis-ci.com/grahamar/belem.svg?token=ehYmhiZsnqWFWAoybfVc&branch=master)](https://travis-ci.com/grahamar/belem)
![](https://img.shields.io/badge/license-MIT-blue.svg)

CLI get temporary credentials for the AWS CLI/API via the [aws-credentials-broker](https://github.com/flowcommerce/aws-credentials-broker).

![belem](docs/assets/title.png)

## Getting AWS Temporary Credentials

```
$ go get github.com/grahamar/belem
$ cd $GOPATH/src/github.com/grahamar/belem
$ make install
$ belem login
```

## Configuration

To set your AWS credentials broker URL, you can either pass the `--broker` parameter, or create a configuration file:

Configuration File: `$HOME/.belem.yaml` (You can pass the `--config` parameter to override the default)

```yaml
broker: https://broker.example.com
```

You can also configure the `port` that the CLI listens on for the callback (default port 8765).

```yaml
port: 8765
```

The AWS CLI profile the credentials are stored for is by default `default` this can be configured via the `--profile` parameter or the `AWS_PROFILE` environment variable.