Pre-release
This release is a pre-release and may not be stable for production use.
# 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": ...,
}
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": ...,
}
Release files for bozor 0.0.1dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bozor-0.0.1dev4.tar.gz | 9.0 kB | Details |
Release files / bozor-0.0.1dev4.tar.gz
| Download URL | bozor-0.0.1dev4.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f836f1f42eea76425b01a682e84e0000df08b8aa4a8b64d80dbcca2af406d94
|
|
BLAKE2b-256 checksum How to use checksums |
ec688dda4a55a4e54d7c8e489f57392cc325a500a220ca389f76c7840d7df212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |