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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.6.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.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.6.tar.gz
Algorithm Hash digest
SHA256 365b7d5f5d0c6e57fa2eeec8e0604e6334f9553600d9c39ad20ffb4c3be904d5
MD5 cca98b256596ac5c77934d37e75410e3
BLAKE2b-256 54658ee9b33e2ab78d694c4e1c37945d5d6a6ad95314326c675a80e3a10063b5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mozfederatedpolicybuilder-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2123f81c648fa83bb8a6bfe2879bd9316d93abf23cfccb3352a2535bcfada780
MD5 aceb2d8961a0c3911eae5843182dcb98
BLAKE2b-256 5b8ac2437785a7d269871844f44880b54725c66463d539d5d7e8764663d35093

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