Get a list of s3 buckets associated with amazon access key using powershell?
Assuming that you've already set up your AWS Credentials the way you want, you can simply call Get-S3Bucket. This invokes ListBuckets, and returns a collection of S3Bucket objects that are visible to you:
Example:
# With credentials stored in the SDK store:PS C:\> Get-S3BucketCreationDate BucketName------------ ----------5/20/2015 2:00:00 PM MyBucket15/21/2015 4:00:00 PM MyBucket2 # With credentials passed inline: PS C:\> Get-S3Bucket -AccessKey "accKey" -SecretKey "secKey" -Region "us-east-1"CreationDate BucketName------------ ----------5/20/2015 2:00:00 PM MyBucket15/21/2015 4:00:00 PM MyBucket2