cli icon indicating copy to clipboard operation
cli copied to clipboard

[v8] Add "--strategy" parameter to "bind-service" command

Open jochenehret opened this issue 1 month ago • 0 comments

Description of the Change

Enhancement for rfc-0040-service-binding-rotation.

Add parameter strategy to bind-service command. Allowed values are single (default) and multiple. With multiple, the CLI sends and additional parameter "strategy": "multiple" to the CC v3 API: https://v3-apidocs.cloudfoundry.org/version/3.207.0/index.html#create-a-service-credential-binding

Why Is This PR Valuable?

This PR enhances the CLI so that the multiple service binding feature is enabled for end users. More PRs for other related commands will follow.

Applicable Issues

https://github.com/cloudfoundry/community/pull/1198

How Urgent Is The Change?

Not super urgent.

Other Relevant Parties

Change is backwards compatible, so no regressions expected.

jochenehret avatar Dec 05 '25 11:12 jochenehret