Skip to content
Interact with any Open Service Broker API to discover/provision/bind/unbind/deprovision hundreds of different services.
Branch: master
Clone or download
lyubo1 and drnic Consider service plan `free` as optional (#20)
As per specification `plan.free` is not a required parameter and entirely skipped in json
serialization in the brokerapi implementation. (see omitempty).
Eden will panic while trying to dereference a nil pointer.
Latest commit 73310be Jul 6, 2019

README.md

eden

Interact with any Open Service Broker API to discover/provision/bind/unbind/deprovision hundreds of different services.

Installation

For Ubuntu/Debian:

wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
echo "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
apt-get update
apt-get install eden

For Mac OS using Homebrew:

brew install starkandwayne/cf/eden

From source using Golang:

go get -u github.com/starkandwayne/eden

Usage

Use environment variables to target an Open Service Broker API:

export SB_BROKER_URL=https://mybroker.com
export SB_BROKER_USERNAME=username
export SB_BROKER_PASSWORD=password

To see the available services and plans:

eden catalog

To create (provision) a new service instance, and to generate a set of access credentials (bind):

export SB_INSTANCE=my-db-name
eden provision -s servicename -p planname
eden bind

To view the credentials for your binding:

eden credentials

To extract a single credentials, say a fully formed uri, you can use eden credentials --attribute uri:

For example, to provision a PostgreSQL service, generate bindings, and use them immediately with psql:

export SB_INSTANCE=pg1
eden provision -s postgresql96
eden bind
psql `eden creds -a uri`

CLI flags and environment variables

In addition to using env vars, you can use CLI flags. See eden -h and eden <command> -h for more details.

You can’t perform that action at this time.