https://github.com/cloudfoundry-community/spring-cloud-s3-service-connector
https://github.com/cloudfoundry-community/spring-cloud-s3-service-connector
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudfoundry-community/spring-cloud-s3-service-connector
- Owner: cloudfoundry-community
- License: apache-2.0
- Created: 2014-07-27T00:19:57.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T09:14:15.000Z (over 7 years ago)
- Last Synced: 2025-07-15T19:09:40.233Z (12 months ago)
- Language: Java
- Size: 21.5 KB
- Stars: 5
- Watchers: 17
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Cloud Service Connector for Amazon S3 Services
This project provides a [Spring Cloud](https://github.com/spring-projects/spring-cloud) service connector for Amazon S3 services brokered by the Cloud Foundry [s3-cf-service-broker](https://github.com/davidehringer/s3-cf-service-broker).
## Example Usage
Add the library to your project:
```
org.cloudfoundry.community
spring-cloud-s3-service-connector
1.0.0
```
Bind an S3 service to your Cloud Foundry application.
Use Spring Cloud to get an `S3ServiceInfo` instance.
```
CloudFactory cloudFactory = new CloudFactory();
Cloud cloud = cloudFactory.getCloud();
S3ServiceInfo serviceInfo = (S3ServiceInfo) cloud.getServiceInfo("my-s3-service");
... serviceInfo.getAccessKeyId();
... serviceInfo.getSecretAccessKey();
... serviceInfo.getBucket();
```
## Continuous Integration
The CI server for the project is hosted at https://gaptap.atlassian.net/builds/browse/CFC-SPRIN.