-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Feature]: Korifi API users can create service bindings of type 'key' #2320
Comments
Understand more about what type "key" means. It looks like the key bindings should not be mounted to any app, but just serve as credential storage. It is also interesting to understand more about how the MTA uses these. |
This doc explains what service keys are and how they are managed. In short, this is a way to generate credentials for a service instance, without having to push an app. After doing that user are free to use them from outside the system or to create UPSI in other spaces or whatever else they might want to do with them. It sounds like type key is a thing in the managed service instances world and does not make too much sense for user provided instances. |
The initial PR to support key service bindings creates the service binding io secret that is not needed for the key bindings. As a next step creating that secret should be omitted for such bindings as it is not used |
Blockers/Dependencies
No response
Background
Currently when a user creates a service binding korifi assumes that it is of type "app". However the cf api docs define two types of service bindings - "app" and "key". We should support both types of service bindding.
Acceptance Criteria
GIVEN I have pushed and app and created a service instance
WHEN I execture the following request
THEN I get 202 Accepted and a json response describing a key binding
GIVEN I have created a key service binding
WHEN I try to list all key bindings
THEN I get 200 OK and a list of key bindings only
Dev Notes
The text was updated successfully, but these errors were encountered: