Skip to main content

Bombaat CLI - awscli / boto AWS API access using Azure Active Directory (AD) service.

Project description

BOMBAAT CLI

Azure Active Directory single sign-on (SSO) integration with Amazon Web Services CLI (AWS CLI / BOTO)

Bombaat CLI enables you to access AWS Cloud accounts via awscli/boto using Azure AD single sign on service

System Requirements

  • Mac OSX or Linux
  • Python3.6+

Prerequisite

NOTE: If you just want to test the tool, no need to follow the below steps. It installs default drivers and sample cloud profiles.

If you have plan to use it in your own environment, this installation requires to host set of configuration files somewhere on the network. (example: you can upload both the zip files to a S3 bucket and update s3 permissions to make it accessible via network)

Download the following files.

  1. https://bombaat.s3.ap-south-1.amazonaws.com/drivers.zip
  2. https://bombaat.s3.ap-south-1.amazonaws.com/profiles.zip

Unzip profiles.zip, update your cloud environment URLs and name, zip it back.

Installation

These steps are one time setup, which installs bombaat cli and required configuration files.

Step 1:

$ pip3 install bombaat

step 2:

Ignore this step, if you are not setting this tool in your own environment. Otherwise, run the following command to set the host where you have uploaded zip files as per the Prerequisite step.

Please make sure you are providing hostname without forward slash. For example if you have hosted your zip files under https://example.com/drivers.zip or https://example.com/profiles.zip, just enter https://example.com

$ bombaat init

Step 3:

Download and install configuration files either from default host or from the host configured in step 2.

$ bombaat update all

Usage

Step 1: Configure cloud profile:

Before log in any AWS cloud account, you need to configure the same as it collects login info.

  • Azure AD SSO Username - It should be your email ID
  • Default - It can be set True or False. [If you set True, the profile becomes your default cloud account while using awscli or boto. If you dont, it always be False.]
$ bombaat configure

You can always come back and run the bombaat configure command to change the settings.

Step 2: To log in to a profile:

Profiles which you have configured in the previous step will be shown in login command.

$ bombaat login

Help

To see help text:

$ bombaat --help
$ bombaat <command> --help

Compatibility

  • Compatible with Mac OSX or Linux with python3.6 or higher version.

Requirements

  • Azure AD SSO integration with Amazon Web Services. Follow this link to setup Azure SSO with AWS Console.

Authors


  • bombaat was written by Ravi Boodher<boodher@gmail.com>.

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

bombaat-1.1.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bombaat-1.1.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file bombaat-1.1.1.tar.gz.

File metadata

  • Download URL: bombaat-1.1.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.7

File hashes

Hashes for bombaat-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4a4462b6688a32d50b59945d0bfe060243ac054d9e35085088f6e6c73dcb275e
MD5 2d99faf29fa15b3c389bd4b65df9c21f
BLAKE2b-256 57525fe7d81eca4f52c827429eff7d3a89358da1e4e61118c9036a3910710b07

See more details on using hashes here.

File details

Details for the file bombaat-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: bombaat-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.7

File hashes

Hashes for bombaat-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b6601683ef189928014a6ddcded42ccaa8da12203aeab8a47aa25a7044892ff
MD5 aef19bd6fe0885b6b8c91fbfa8fc1297
BLAKE2b-256 01b7f075a23b2a5c6bf6eaa04d86521ab045ced0e292c0077388b8fcb7ac1ac7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page