Skip to content

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

License

Notifications You must be signed in to change notification settings

moriyoshi/aws-iam-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages