This package is used to get temporary token for aws access
Project description
Module overview
This module integrates with DUO MFA to get temporary access for aws ##Installation and execution To install this package, please run the below command on your console.
pip install aws-access
This will install the package along with all its dependencies. Once installed, execute the package using the below command
python -m aws_access_util.get_aws_access --awsurl <url> --u <user> --dur <duration> --p <password>
url: This is the url of the AWS ccount
user: The userid to connect to the URL
password: The password to connect to the URL
dur: The duration in seconds for which access is required. Deafult is 1 hour
If none of the parameters are given, the utility will prompt for the value of the parameters except for duration(--dur). It will take default duration of 1 hour
##Help information
To find out how to use the utility, you can execute the below command
python -m aws_access_util.get_aws_access --help
usage: get_aws_access.py [-h] [--awsurl URL] [--u USER] [--p PASSWORD]
[--dur DURATION_SECONDS]
Retrives and stores a temporary token which is used to access AWS resource
optional arguments:
-h, --help show this help message and exit
--awsurl URL Specify a valid aws url
--u USER Specify your userid
--p PASSWORD Specify your password
--dur DURATION_SECONDS
Specify duration in seconds for which you need
access.Must be > 900 and less than 43200. Default is 1
hour or 3600 secs.
##Authors
- Rajib Deb - Initial Work - Cisco
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws-access-1.0.7.tar.gz
(8.6 kB
view hashes)
Built Distribution
aws_access-1.0.7-py3-none-any.whl
(14.5 kB
view hashes)
Close
Hashes for aws_access-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb6d86c653588d1ef8e64a4b409f63132a82a563b18ab8c386dd373a2d596eb |
|
MD5 | 28188bb97a948ed5ffe26866d4ad77fd |
|
BLAKE2b-256 | b62417cf70d1b3b0bed2a5adf78e73189314f2d3869472529ab2ad3425c9b815 |