Skip to main content

Run AWS administrative scripts.

Project description

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.

Helper modules:

  • helper_aws_ec2 - Provide common AWS EC2 multithreaded functions.

  • helper_aws_entrypoint - Provide AWS auth and crawler options.

  • helper_aws_sso - Provide common AWS SSO multithreaded functions.

  • 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.

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.

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

aws_administrator-2.2.4.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

aws_administrator-2.2.4-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file aws_administrator-2.2.4.tar.gz.

File metadata

  • Download URL: aws_administrator-2.2.4.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

File hashes

Hashes for aws_administrator-2.2.4.tar.gz
Algorithm Hash digest
SHA256 a1782fe8d275b93c98a1b06030096ac3093bd08720080bb7dc83ed99f0856d27
MD5 3a5404c56ea9f6f49bb61950a4810627
BLAKE2b-256 49e227e5de43188873d4b3815e281993993d6a8406f320640f88edd569585a4a

See more details on using hashes here.

File details

Details for the file aws_administrator-2.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_administrator-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 746b788f568e09d7317d0e9c877c00f47bbf5853529d44903e2c4c154afd05dc
MD5 436b3f133813b615e6ad5db591652724
BLAKE2b-256 4002b38c0391229980a0ba51b2609c916fef869619d1154b0d300377d16f49b0

See more details on using hashes here.

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