test file
This commit is contained in:
18
s3_bucket_list.py
Normal file
18
s3_bucket_list.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import boto3
|
||||||
|
import botocore
|
||||||
|
|
||||||
|
import json
|
||||||
|
import urllib
|
||||||
|
import logging
|
||||||
|
import sys,os
|
||||||
|
import pprint
|
||||||
|
|
||||||
|
pp = pprint.PrettyPrinter(indent=5, width=80)
|
||||||
|
|
||||||
|
from s3.s3 import *
|
||||||
|
|
||||||
|
#cgates pythons3
|
||||||
|
AWS_ACCESS_KEY_ID = ''
|
||||||
|
AWS_SECRET_ACCESS_KEY =''
|
||||||
|
|
||||||
|
get_s3bucket_policy(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,'myfuckingbucket')
|
||||||
Reference in New Issue
Block a user