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

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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for mozfederatedpolicybuilder-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c673830009cb277123486d2768a1208ff169a0cd28b49ed0a9a541d218fc7b3f
MD5 9fdf7a940b57c415cfae666214de2cc6
BLAKE2b-256 5f49c61d0c69c0b7a2baae18ada6fbb8a77eabfda67c55b837cee9df248ffd81

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for mozfederatedpolicybuilder-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b616a12eadde66616dff2af30c5c3a66b46e126b22b7caabc543cfe2114588ed
MD5 6a26a2ebda876eaa70f35e6e8c6543b6
BLAKE2b-256 d104e0409f0d4bbf776a16dcaabb8f0c0f3fc20af3bec58dc7b1efd6852d3d73

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