Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/moriyoshi/aws-iam-emulator
- Owner: moriyoshi
- License: mit
- Created: 2020-09-27T17:17:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-09-27T17:23:04.000Z (about 4 years ago)
- Last Synced: 2023-07-28T12:57:52.823Z (over 1 year ago)
- Topics: aws, emulator, go, iam
- Language: Go
- Homepage:
- Size: 3.96 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: bargroups:
- name: foogroup
members:
- foo
- name: bargroup
members:
- bar
- name: foobargroup
members:
- foo
- bar
- name: empty
```