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

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.0.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

mozfederatedpolicybuilder-0.0.1-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

File hashes

Hashes for mozfederatedpolicybuilder-0.0.1.tar.gz
Algorithm Hash digest
SHA256 01b996800e336fdcc6c4f850bd46b21c4a78996a9333d05075c61b927cf4744e
MD5 ce98893ce71757bc474025dc5599ec2d
BLAKE2b-256 c4147baef73441cda2b31ede00b134a53ad599a00f8f29c36fb75cb11f8fd98f

See more details on using hashes here.

Provenance

File details

Details for the file mozfederatedpolicybuilder-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

File hashes

Hashes for mozfederatedpolicybuilder-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cf7bd7fb86a26d500dce7beddfcc991e0bf6404afbbf085836d434b1bd94b18c
MD5 a111d726cc8be882dbeaca9a0d99174b
BLAKE2b-256 c2584e53ec1145941cb766c191348ee3b0628a31799a2d68a6bca369a07a1bc4

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