VMware

Component Namespace

The Component namespace provides commands to retrieve authentication information of a component element. A component element is said to contain authentication information if any one of package elements contained in it has authentication information.

List of commands:



List Command

dcli com vmware vapi metadata authentication component list

Description

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

Example

dcli com vmware vapi metadata authentication component list


Get Command

dcli com vmware vapi metadata authentication component get

Description

Retrieves authentication information about the component element corresponding to component-id. The ComponentData contains the authentication information about the component element and it's fingerprint. It contains information about all the package elements that belong to this component element.

Options

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

Example

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


Fingerprint Command

dcli com vmware vapi metadata authentication component fingerprint

Description

Retrieves the fingerprint computed from the authentication metadata of the component element corresponding to component-id. The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of Component.get.

Options

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

Example

dcli com vmware vapi metadata authentication component fingerprint --component-id testId