bozor-0.0.1dev4
توضیحات
A higher level package to retrieve details on AWS items.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bozor-0.0.1dev4 |
| نام | bozor |
| نسخه کتابخانه | 0.0.1dev4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Patrick Kelley |
| ایمیل نویسنده | patrick@netflix.com |
| آدرس صفحه اصلی | https://github.com/monkeysecurity/bozor |
| آدرس اینترنتی | https://pypi.org/project/bozor/ |
| مجوز | UNKNOWN |
# bozor
A higher level package to retrieve details on AWS items.
## features
- Built on top of botor.
- Orchestrates all the calls required to fully describe an item.
## Supported Technologies
- IAM Role
- IAM User
## Example
from bozor.aws.iam import get_role
# account_number may be extracted from the ARN of the role passed to get_role
# if not included in conn.
conn = dict(
assume_role='SecurityMonkey', # or whichever role you wish to assume into
session_name='bozor',
region='us-east-1'
)
role = get_role(
dict(arn='arn:aws:iam::000000000000:role/myRole', role_name='myRole')
output='camelize',
**conn)
# bozor makes a number of calls to obtain a full description of the role
print(json.dumps(role, indent=4, sort_keys=True))
{
"Arn": ...,
"AssumeRolePolicyDocument": ...,
"CreateDate": ..., # str
"InlinePolicies": ...,
"InstanceProfiles": ...,
"ManagedPolicies": ...,
"Path": ...,
"RoleId": ...,
"RoleName": ...,
}
نحوه نصب
نصب پکیج whl bozor-0.0.1dev4:
pip install bozor-0.0.1dev4.whl
نصب پکیج tar.gz bozor-0.0.1dev4:
pip install bozor-0.0.1dev4.tar.gz