Skip to main content

Overview

Run AWS administrative scripts.

Available scripts (see each script’s docstring for more information):

  • aws_actions_get - Get AWS actions for services.

  • aws_sgs_get - Collect AWS Security Group details from multiple accounts.

  • aws_sso_assign - Assign AWS SSO Permission Sets to multiple accounts.

  • aws_sso_get - Collect AWS SSO Permission Set assignment data from multiple accounts.

  • aws_sso_json - Convert human-readable SSO data to AWS IDs.

  • aws_sso_mappings - Update AWS SSO mappings data with new principals.

  • aws_sso_memberships - Get AWS SSO membership details from mappings data.

  • aws_sso_update - Update AWS SSO User and Group names from mappings files.

  • aws_s3_getbuckets - List S3 buckets in AWS accounts.

  • aws_vpc_getvpcs - Collect AWS VPC details from multiple accounts.

Helper modules:

  • helper_aws_iam - Provide common AWS IAM multithreaded functions.

  • helper_aws_ec2 - Provide common AWS EC2 multithreaded functions.

  • helper_aws_sso - Provide common AWS SSO multithreaded functions.

  • helper_aws_s3 - Provide common AWS S3 multithreaded functions.

  • helper_aws_entrypoint - Provide AWS auth and crawler options.

  • helper_common - Provide common helper functions.

  • helper_parameters - Provide helper parameter values.

Usage

Installation:

pip3 install aws_administrator
# or
python3 -m pip install aws_administrator

Prerequisite steps:

  1. Copy the “parameters.ini” file: https://gitlab.com/fer1035_python/modules/pypi-aws_administrator/-/blob/main/src/aws_administrator/extras/parameters.ini to your current working directory.

  2. Update the file with the necessary values. To specify a value for a parameter, add the value in the following format: PARAMETER_NAME = VALUE. The examples for this is available for the DRY_RUN and THREAD_NUM parameters.

Example (Python shell):

# Get AWS SSO Permission Set details from all accounts in an organization.

from aws_administrator import aws_sso_get
aws_sso_get.aws_sso_get()

Extra Features

  • Some scripts have a DRY_RUN option which can be set in the “parameters.ini” file.

  • The number of threads (THREAD_NUM) for multithreaded scripts can be set in the “parameters.ini” file.

Release files for aws_administrator 2.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws_administrator 2.4.4
File Size Uploaded
aws_administrator-2.4.4.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws_administrator 2.4.4
File Interpreter ABI Platform
aws_administrator-2.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 41.0 kB

Release files / aws_administrator-2.4.4.tar.gz

Download URL aws_administrator-2.4.4.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6b133a818845b9f2ff891718e7060dc6c7e772d945cb082dfdf104bf1f3e0fb6
BLAKE2b-256 checksum
How to use checksums
67fba7b0ce0b6d7963e581a0734c28028ad27de9eec052e69dc69e8351736509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release files / aws_administrator-2.4.4-py3-none-any.whl

Download URL aws_administrator-2.4.4-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3970f9633fa242bed63d1b5a608ba2d4771fb4747341611e7e47b6ef51a6d755
BLAKE2b-256 checksum
How to use checksums
af5020b20e1831724ddc56095f9e9ec457deb55c45acb27b747379a45b2f48a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release history Release notifications | RSS feed

This release

2.4.4 This release

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page