Skip to content

Appliance


title: “appliance” description: “appliance Command” lead: "" date: 2023-06-12T13:46:25-06:00 lastmod: 2023-06-12T13:46:25-06:00 draft: false images: [] menu: docs: parent: “cli-api” weight: 312 toc: true

Command Reference

Definition

Provides an interface to call the Trimble Access Management Appliance APIs.

Terminal window
./tam appliance

Sub-Commands

evaluate

Evaluates a policy decision with a Trimble Access Management appliance.

Arguments

environment (Required) Trimble Access Management environment. Options are Stage, and Prod

consumerKey (Required) The Trimble Cloud Console Client ID for your application.

consumerSecret (Required) The Trimble Cloud Console Client Secret for your application.

applianceUrl (Required) The appliance running in your environment to evaluate decisions.

packageNamespace (Required) The namespace of the package to register.

rule (Optional) The optional name of the rule to evaulate. Omitting this will evaluate all rules in the package.

pathToInputFile (Required) A path on the local file system to JSON that will be provided as input to the decision.

Example

Terminal window
./tam appliance evaluate --environment Stage --consumerKey a79ace58-555a-4558-954f-b922ba342656 --consumerSecret 2282aea627aa4464884d7227d4e38735 --packageNamespace sample.auth --rule my_rule --pathToInputFile ./input.json