VMware

Service Namespace

The Service namespace provides commands to retrieve authentication information of a service element. A service element is said to contain authentication information if there is a default authentication assigned to all operation elements contained in a service element or if one of the operation elements contained in this service element has authentication information.

List of commands:



List Command

dcli com vmware vapi metadata authentication service list

Description

Returns the identifiers for the service elements that have authentication information.

Example

dcli com vmware vapi metadata authentication service list


Get Command

dcli com vmware vapi metadata authentication service get

Description

Retrieves authentication information about the service element corresponding to service-id.

Options

Option Name Type Required Description
service‑id string Yes Identifier of the service element. The parameter must be an identifier for the resource type: com.vmware.vapi.service.

Example

dcli com vmware vapi metadata authentication service get --service-id testId