Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to declare schema of binding credential output #116

Open
bmelville opened this issue Dec 15, 2016 · 9 comments
Open

Ability to declare schema of binding credential output #116

bmelville opened this issue Dec 15, 2016 · 9 comments

Comments

@bmelville
Copy link
Contributor

bmelville commented Dec 15, 2016

Binding credentials are a generic map of data, and as such are difficult to reason about or program against in a meaningful way. Similar to issue #59, we would like to support the ability to declare the schema of credential outputs from a binding.

Proposal: https://docs.google.com/document/d/1JbsJgqgNtqthcfYwK_KbS6C8sjElrZNgoLhu40dUPAs/edit?usp=sharing

@arschles
Copy link
Contributor

@bmelville is there any documentation on how the schema works that I can look at?

@angarg12
Copy link
Contributor

Since binding is a generic operation itself, the output is arbitrary.

Therefore if we schematise the whole output, we will cover this use case (credentials) plus any other possible scenario.

@bmelville
Copy link
Contributor Author

@arschles if you take a look at issue #59 and its accompanying proposal doc, that should be a good start. Let me know if it doesn't satisfy your questions though.

@bmelville
Copy link
Contributor Author

bmelville commented Jan 3, 2017

I have an initial proposal for this: https://docs.google.com/document/d/1JbsJgqgNtqthcfYwK_KbS6C8sjElrZNgoLhu40dUPAs/edit?usp=sharing

It contains two separate potential proposals.

@duglin
Copy link
Contributor

duglin commented Nov 21, 2017

From 11/12 call, @n3wscott will write-up a proposal

@pmorie
Copy link
Contributor

pmorie commented Jan 25, 2018

Should this issue be in validating-through-implementation now that #392 is in that state?

@mattmcneeney
Copy link
Contributor

mattmcneeney commented Jan 29, 2018

@pmorie I think so. Unless people were interested in having one schema for the API response to a create binding call, and another schema for the GET binding endpoint being implemented by #333 (i.e. different schema for the API response vs the actual resource).

@mattmcneeney
Copy link
Contributor

We spoke about this on today's OSBAPI weekly call. We think that a proposal similar to the kinds discussion we had a the last face-to-face is more powerful than this.

A proposal like this would provide a couple of benefits:

  1. App developers could swap services easily if they knew that their application was going to work with services from a number of different providers (i.e. if there was a standard for what a MySQL service binding looked like)
  2. Having standard binding structures would make it easier for developers to build libraries to consume service bindings (similar to the above), making it easier to build applications

We are waiting for an owner to volunteer to pick this one up, as we are currently tied up with the Extensions work.

@hsiliev
Copy link

hsiliev commented May 20, 2019

Our group in SAP is currently working with CF and k8s brokers. Some of the brokers we use provide IaaS native AWS, GCP and Azure services. Credentials for the same backing service (PostgreSQL for instance) might be slightly different: uri vs url, user vs username, etc.

We see a structured way to handle credentials (schema) as a way to solve the above issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Development

No branches or pull requests

9 participants