Skip to main content

Tool to create an AWS IAM Role with a federated policy allowing users to login with Single Sign On

Project description

mozfederatedpolicybuilder

PyPI version Build Status

The Mozilla federated policy builder helps craft AWS IAM Roles that permit users to assume those roles using a federated identity.

Installation

pip install mozfederatedpolicybuilder

Usage

mozfederatedpolicybuilder

You'll be prompted to choose what type of output you want

Policy format options :
* c/cloudformation : A YAML CloudFormation template which provisions a
    federated IAM role
* j/json-cloudformation : A JSON CloudFormation template which provisions a
    federated IAM role
* a/awscli : An AWS CLI command line command which creates a federated IAM role
* p/policy : The JSON trust relationship portion of the IAM policy (this can be
    copy pasted into the web console)

What format would you like the policy returned in? (c/cloudformation / a/awscli / j/json)

Select an output type. You'll be prompted for the groups you want to grant access

User groups can be granted access to the federated IAM role.
* Supported : Allow users in the group foo to assume the IAM role : "foo"
* Supported : Allow users in the group foo as well as users in the group bar to
    assume the IAM role : "foo,bar"
* Supported : Allow users in any group that begins with "foo_" : "foo_*"
What groups would you like to grant access to this role?

You'll next be prompted for the name of the AWS IAM Role

What name would you like for the AWS IAM Role?

Finally the tool will return the policy details in the format you've requested

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

mozfederatedpolicybuilder-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file mozfederatedpolicybuilder-0.1.0.tar.gz.

File metadata

  • Download URL: mozfederatedpolicybuilder-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1

File hashes

Hashes for mozfederatedpolicybuilder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b78879abcb2a83c83900899d4a115f870d6294c3b907a5832d478dc07ff1e23
MD5 e39b7acc74a20f85faef91e7165aee29
BLAKE2b-256 b353f030c70b51e989ef25670d22040e41a4f88cf613cb5852978c36a55dee55

See more details on using hashes here.

Provenance

File details

Details for the file mozfederatedpolicybuilder-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mozfederatedpolicybuilder-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1

File hashes

Hashes for mozfederatedpolicybuilder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae6614ccad6c7e90421b2dca8512b7f49a81639805115025c3eadebcb6f6d6bd
MD5 2a7253954a5366716e1ac7078b43ce57
BLAKE2b-256 273eec1131edc4c1b3db817bd8c20c440592e688d1bc0a1484f743e28cc5b774

See more details on using hashes here.

Provenance

Supported by

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