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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 cbfc2717cb5d7e77faae3ad284fbdfe42b44e7bc0b36df732372c377d446838e
MD5 8e46ccb7d6797bf3aa60d74cd19c70d7
BLAKE2b-256 fc3c3ac6542bde6f277c10ef8f3fdcd4202438579e22785d3cce73fbb6f58d42

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6463efcb3ab759f1be3900df9b0b5ff3195421ed20dece62c2040f254620138
MD5 df91e851017bef17705bda2dbd6e707e
BLAKE2b-256 4e81c83c8b6b7092047c7ee02d23003e55ddc0c344b1f6c5199e274e25d1be81

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