Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/moriyoshi/aws-iam-emulator

A tiny application that emulates a small set of AWS IAM API.
https://github.com/moriyoshi/aws-iam-emulator

aws emulator go iam

Last synced: about 1 month ago
JSON representation

A tiny application that emulates a small set of AWS IAM API.

Awesome Lists containing this project

README

        

# aws-iam-emualtor

## What is this?

This is a tiny application that emulates a small set of AWS IAM API.

Currently the following actions are supported:

* GetUser
* GetGroup
* ListUsers
* ListGroups

## Usage

```
aws-iam-emulator [-bind address] FIXTURE

-bind ADDRESS
bind to ADDRESS (default "127.0.0.1:9000")

FIXTURE
fixture file
```

A command line example:

```
$ aws-iam-emulator -bind 127.0.0.1:9000 fixture.yml
$ aws iam --endpoint-url=http://127.0.0.1:9000 get-group --group-name=foogroup
```

## Fixture file

A fixture file is a YAML file that contains users and groups.

A typical fixture is as follows:

```
users:
- name: foo
- name: bar

groups:
- name: foogroup
members:
- foo
- name: bargroup
members:
- bar
- name: foobargroup
members:
- foo
- bar
- name: empty
```