Skip to main content

Run AWS administrative scripts.

Project description

Overview

Run AWS administrative scripts. Available scripts are in in the package’s “scripts” directory: https://gitlab.com/fer1035_python/modules/pypi-aws_administrator/-/tree/main/src/aws_administrator/scripts (see each script’s docstring for more information).

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.scripts import aws_sso_get
aws_sso_get.aws_sso_get()

Notes

These scripts arose from the needs of my work to migrate AWS SSO and security details from one organization to another. There’s the long way of doing it, then there’s the easy way (recommended). Both are covered by the scripts.

In the process, I have decided to modularize and release them as a package of reusable functions. The functions are available in the package’s “helpers” directory: https://gitlab.com/fer1035_python/modules/pypi-aws_administrator/-/tree/main/src/aws_administrator/helpers (as with the scripts, see each helper’s docstring for more information). The parameters have also been abstracted so that the scripts themselves can be used with very few customizations, if any.

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

Uploaded Source

Built Distribution

aws_administrator-2.1.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_administrator-2.1.2.tar.gz
  • Upload date:
  • Size: 10.7 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.1.2.tar.gz
Algorithm Hash digest
SHA256 0dd02a7e4321eaa7375ec6f65940dce115769a9f74c3167469fbbb16e566b479
MD5 d0b6a877fa7137271c84608d12e364ac
BLAKE2b-256 d2103720db76fcee4b71afb4cac46a037f59cae8a3ca09c5a4420dd12b703e1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_administrator-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af3605e7bb072ae85bdbcf8206ccf833ed97c7834070953ce8e7f5774e881b0d
MD5 0eb1eae71f82a0cec517d322da79e121
BLAKE2b-256 cdfbfee83fb0cc97a92161c66ca3ae0df999f6ba0946cde58e5b6f41e1056982

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