Skip to content

Latest commit

 

History

History
203 lines (103 loc) · 2.46 KB

File metadata and controls

203 lines (103 loc) · 2.46 KB

get-binding

smctl get-binding

Get detailed information about a specific service binding.

smctl get-binding [name] [flags]

get-binding, gsb

Optional

Global Flag

-h, --help

Help for get-binding command.

No

-o, --output

Output format of the command. Possible options: json, yaml, text

No

--show-binding-params

Show service binding configuration parameters.

No

--config

Set the path for the smctl config.json file (default is $HOME/.sm/config.json).

Yes

-v, --verbose

Use verbose mode.

Yes

> smctl get-binding sample-binding
One service binding.
| ID             | 5937785d-6740-4f56-bdd9-8d24544bddac                |
| Name           | sample-binding                                      |
| Instance Name  | sample-instance                                     |
| Credentials    | {"password":"pass","username":"usr"}                |
| Created        | 2020-04-09T10:57:50.452161Z                         |
| Updated        | 2020-04-09T10:57:51.505822Z                         |
| Ready          | true                                                |
| Labels         | subaccount_id=subacc-cfdev-tenant-id                |
| Last Op        | create succeeded                                    |
> smctl get-binding sample-binding --show-binding-params
Showing parameters for service binding id:  0c170e73-28bd-47ea-b3f4-f1ad1dbf3e0a
The parameters are:
{
   "param1":"value1",
   "param2":"value2"
}