buckets and contents
This commit is contained in:
21
s3_list_buckets_and_contents.py
Normal file
21
s3_list_buckets_and_contents.py
Normal file
@@ -0,0 +1,21 @@
|
||||
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 *
|
||||
|
||||
#insert AWS key, will figure out how to pull this in from a single file for all scripts
|
||||
|
||||
#AWS_ACCESS_KEY_ID = ''
|
||||
#AWS_SECRET_ACCESS_KEY =''
|
||||
|
||||
|
||||
|
||||
get_s3objects_for_account_detailed(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
Reference in New Issue
Block a user