Karman AWS Plugin

  • Tags: amazon, cloud, karman
  • Latest: 0.4.2
  • Last Updated: 28 April 2014
  • Grails version: 2.0 > *
0 vote
compile ":karman-aws:0.4.2"

 Documentation  Source  Issues


Karman AWS provides an Amazon S3 Interface to the Karman API


plugins {
  compile ':karman-aws:0.2.0'


Karman AWS is a S3 implementation of the Karman Cloud Service / Storage Interface. It allows one to interact with Amazon S3 via the standard Karman API interfaces

Usage / Documentation

To instantiate an S3 provider simply do:

import com.bertramlabs.plugins.karman.aws.*

// To use credentials from Config.groovy or credential provider chain def provider = new S3StorageProvider() // Or provider = new S3StorageProvider( accessKey: ACCESS_KEY, secretKey: SECRET_KEY, region: 'eu-west-1' )

//example getting file contents def file = provider['mybucket']['example.txt'] return file.text

Check the Karman API Documentation for details on how to interace with cloud files: