What it doesBasics
- Inspect accounts and grants, issue activation codes and verify recipient access
- Maintain organizational groups and withdraw approved access
- Prepare local certificates for explicitly trusted custom targets
- Diagnose credentials and stage a verified CLI update
First useBasics
- Obtain the approved Linux amd64 or arm64 executable and verify its published digest through your distribution process.
- Run
laas versionandlaas help; select the approved environment and credential. - Run
laas customer show CUSTOMER_IDfor the known account and inspect the returned identity. - Read the full result; perform mutations only under the owner’s approved plan.
- Restore temporary settings afterward. A read-only trial needs no record deletion.
Everyday tasksEveryday use
Inspect an approved account
You need to confirm a known account for product access before changing it.
- Confirm the environment, account ID and required permission.
- Run
laas customer show CUSTOMER_IDand inspect the returned ID. - Use the approved inventory interface when you need enabled state or a complete customer or license list.
What you getThe intended account is identified before any mutation.
How to check: A zero exit or missing display field is insufficient; page-number options do not traverse the server’s cursor-based customer list.
Provision and verify a recipient’s access
An approved recipient needs a defined product grant.
- Read the known customer and establish the full existing grant set through the approved inventory interface.
- Apply only the approved product and feature map with
laas license add, then read the returned license ID. - Issue a bounded activation code with
laas credentials issue --customer-id CUSTOMER_ID --expiration-minutes 1440 --max-uses 1only when those limits match the plan. - Deliver the code securely; the recipient runs
laas loginusing their own intended credential destination. - Have the recipient complete the product’s approved harmless operation.
What you getStored grants, recipient custody and actual access match the plan.
How to check: Do not share the administrator’s bundle. A code may be consumed before a local save fails; reconcile before replaying it.
Change organizational placement
A customer needs an approved group membership or hierarchy change.
- Read the group and customer before
laas group assign --customer-id CUSTOMER_ID --group-id GROUP_ID. - Confirm the resulting membership through the approved account interface; assignment adds to existing memberships.
- Refresh credentials when required and verify the intended operation.
What you getThe intended placement is confirmed without inferring extra permissions.
How to check: Unassign clears every membership, not one group. Omitted parent updates do not make a child a root; group placement is separate from access grants.
Withdraw access deliberately
The account owner has approved a grant revocation or suspension.
- Read the exact license before
laas license revoke --customer-id CUSTOMER_ID --license-id LICENSE_ID --reason APPROVED_REASON. - Retain the reason in the approved change record and read the resulting status.
- For account suspension, use the separately approved customer disable task and confirm state through the account interface.
- Verify the intended access cessation at the actual consumer.
What you getThe approved server change and consumer behavior are established.
How to check: Revocation does not erase offline credentials; the service does not preserve the CLI revoke reason in its revocation event. Deletion is a separate decision.
Prepare a certificate for a custom trusted target
A test or custom deployment explicitly trusts the chosen issuer.
- Use a private working directory, approved signer and fresh output paths.
- Use
laas help certto choose server or credential generation with the target’s exact identity and feature requirements. - Inspect the resulting bundle, then use the target’s verifier and intended operation.
- Use
laas cert export-p12only when the destination requires it and OpenSSL is available on PATH.
What you getThe exact target accepts the intended artifact under its own trust policy.
How to check: Local generation does not add a new issuer to existing MAIT trust. Inspection is not signature or key-match validation; keep issuer keys separate and account for partial output files.
Settings to decideAdvanced
- Confirm the assigned environment
- MAIT_CHANNEL selects stable, beta or edge for release builds; saved installation selection can otherwise apply. Correct configuration warnings before a write: fallback can select stable. Deployment selection and release-channel entitlement are separate.
- Choose the intended credential
- LAAS_CREDENTIALS_PATH takes precedence even when empty; a nonempty CREDENTIALS_PATH otherwise applies before user/system discovery. Unset an unwanted override. Optional settings use ~/.mait/laas.yaml or /etc/mait/laas.yaml; there is no arbitrary service-URL flag.
- Restore the session deliberately
- Record non-secret settings before changes. Restore temporary overrides afterward; do not remove shared credentials, grants or cache directories as routine read-only cleanup.
- Choose when renewal is attempted
- LAAS_RENEWAL_THRESHOLD_MINUTES defaults to 10080; larger values start attempts earlier. LAAS_RENEWAL_GRACE_AFTER_EXPIRY_SECS defaults to 2592000. Neither extends the certificate’s validity or grants permissions; login --check attempts renewal separately.
CommandsAdvanced
Problems and fixesHelp
Good to knowHelp
- Sign-in does not grant every administrative permission. Inspect the full result and resulting state.
- Local certificate generation does not add trust to MAIT services.
- Updates are staged; this CLI does not install them on the next launch.