orange-cloudfoundry / osb-cmdb

A configuration management db for Open Service Broker API broker implementations
Apache License 2.0
14 stars 1 forks source link

opt-in to not store service binding credentials #74

Open gberche-orange opened 3 years ago

gberche-orange commented 3 years ago

Expected behavior

See downstream issue https://github.com/orange-cloudfoundry/paas-templates/issues/937

As a osb service provider

As a osb-cmdb operator

Possible design

Limitation with osb-cmdb 1.X architecture

With osb-cmdb 1.0, osb-cmdb get backing credentials through a service key created through cloudfoundry and stored in cloudfoundry. Deleting the service key will trigger a OSB unbinding request, and therefore preventing osb client from using the returned credentials.

Usage of a backing service binding (e.g. bound to a fake app) instead of a backing service key won't help much:

Rearchitecting osb-cmdb for direct backing broker access

Alternative architectures that would support not having CF store credentials:

Alternative UX

Affected release

Reproduced on version 1.1.0 -->