Documentation
¶
Overview ¶
Package lib holds shared helpers for the `hilt client` command tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAdminClient ¶
InitAdminClient loads the Hilt config, builds the service identity (the signing key) and an admin client targeting the running Hilt server. The command must be run with the service's identity config so the signed invocation's issuer matches the server's service DID.
func InitManagementClient ¶
InitManagementClient loads the Hilt config (if available) and builds a partner REST client for the Tenant API. Config is optional: when it does not load, the partner key is read from the HILT_PARTNER_KEY env var and the server URL must be supplied with --url, so the command works as a standalone tool.
Types ¶
This section is empty.