Skip to main content

Tools to manage AWS Organizations

Project description

A configuration management tool set for AWS Organizations.

Full documentation is available at https://aws-orgs.readthedocs.io/en/latest

Features

  • Ensure state of AWS Organizations and IAM resourses per yaml formatted specification files.

  • Configure AWS Organizations resources:

    • organizational units

    • service control policies

    • account creation and organizational unit placement

  • Centrally manage IAM access across AWS Organization accounts:

    • IAM users/groups in a central Auth account

    • customer managed IAM policies

    • IAM roles and trust delegation in organization accounts

Installation

Python virtual environment (recommended):

source ~/path_to_my_venv/bin/activate
pip install aws-orgs

Editable copy in venv:

git clone https://github.com/ucopacme/aws-orgs
pip install -e aws-orgs/

Uninstall:

pip uninstall aws-orgs

Configuration quick start

Run the awsorgs-spec-init script to generate an initial set of spec-files:

awsorgs-spec-init

This generates an initial config.yaml spec files under ~/.awsorgs. Edit these as needed to suit your environment.

See --help option for full usage.

Console Scripts

aws-orgs provides the following python executibles:

awsorgs

Manage recources in an AWS Organization.

awsaccounts

Manage accounts in an AWS Organization.

awsauth

Manage users, group, and roles for cross account access in an AWS Organization.

awsloginprofile

Manage AWS IAM user login profile.

All commands execute in dry-run mode by default. Include the --exec flag to affect change to AWS resources. Run each of these with the ‘–help’ option for usage documentation.

awsorgs report
awsorgs organization
awsorgs organization --exec

awsaccounts report
awsaccounts create [--exec]
awsaccounts alias [--exec]

awsaccounts invite --account-id ID [--exec]
# from invited account:
awsorgs-accessrole --master_id ID [--exec]

awsauth report
awsauth report --users
awsauth report --delegations
awsauth report --credentials --full
awsauth report --account ucpath-prod --users --full

awsauth users [--exec]
awsauth delegations [--exec]
awsauth local-users [--exec]

awsloginprofile maryanne
awsloginprofile maryanne --new
awsloginprofile maryanne --reset
awsloginprofile maryanne --disable-expired --opt-ttl 48
Author:

Ashley Gould (agould@ucop.edu)

Version:

0.3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-orgs-0.3.0.dev1.tar.gz (48.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_orgs-0.3.0.dev1-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

Details for the file aws-orgs-0.3.0.dev1.tar.gz.

File metadata

  • Download URL: aws-orgs-0.3.0.dev1.tar.gz
  • Upload date:
  • Size: 48.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for aws-orgs-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 255db65005e6638210325388106ced19497a79b8f2302ccfa38eb3b96d551e7c
MD5 5047c8e3d3d1069119ded6ef3d63fa73
BLAKE2b-256 e5fb376357e419c5129c1521b0b5b6e32da7ce0bdfe3e761ab8678e4c08af1e0

See more details on using hashes here.

File details

Details for the file aws_orgs-0.3.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: aws_orgs-0.3.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 46.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for aws_orgs-0.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 9883a56dbb4314ef9253db55990c060bdaf892de79bb0eee34ec55b4f936d3d1
MD5 b01984e0ccfeb8e6010a96ae4b87ccd1
BLAKE2b-256 8ad0f6093d8b88d8ee3ddd353291403c92a388c424aeb76fdc4cdbae86263e51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page