KEYLIME_TENANT(1)
π NAME π
okay bestie, so keylime_tenant β this is the Keylime tenant management tool, and it's your main character for agent provisioning and policy management β¨ Literally everything you need to boss around your agents lives here.
πΈ SYNOPSIS πΈ
keylime_tenant [OPTIONS] [COMMAND]
π«Ά real talk: most operations require root privileges, so please use sudo. i'm not gonna say it again (i will).
π¦ DESCRIPTION π¦
so keylime_tenant is the primary command-line interface for managing Keylime agents and policies, no cap. it lets you provision agents with TPM-based attestation, manage runtime policies, manage measured boot policies, and vibe with the Keylime registrar and verifier services π
the tenant can add, delete, update, and monitor agents β plus it handles all kinds of policies, including runtime policies (for IMA/EVM attestation) and measured boot policies (for boot-time attestation). it supports both push and pull models for agent communication, which is honestly iconic of it.
and the best part?? you can run keylime_tenant on the same system as the Keylime registrar or verifier, or on a totally separate system. your call, your setup π
π COMMANDS π
-c,--commandCOMMAND β tells it which command to run. valid commands are:add: add a new agent to the system (this is the default btw)delete: remove an agent from the systemupdate: update an existing agent's configurationregstatus: show agent status from registrarcvstatus: show agent status from cloud verifierstatus: show combined agent statusreglist: list all agents in registrarcvlist: list all agents in cloud verifierreactivate: reactivate a failed agentregdelete: delete agent from registrar onlybulkinfo: get bulk information about agentsaddruntimepolicy: add a runtime policy (requires--runtime-policyor--allowlist)showruntimepolicy: display a runtime policy (requires--runtime-policy-name)deleteruntimepolicy: remove a runtime policy (requires--runtime-policy-name)updateruntimepolicy: update a runtime policy (requires--runtime-policy-name)listruntimepolicy: list all runtime policiesaddmbpolicy: add a measured boot policy (requires--mb-policy-name)showmbpolicy: display a measured boot policy (requires--mb-policy-name)deletembpolicy: remove a measured boot policy (requires--mb-policy-name)updatembpolicy: update a measured boot policy (requires--mb-policy-name)listmbpolicy: list all measured boot policies
β¨ OPTIONS β¨
buckle up bestie, there's a lot, but every single one matters π
-h,--helpβ shows the help message and dips out--push-modelβ enables the push model (avoids requests tokeylime-agent)-t,--targethostAGENT_IP β the IP address of the host to provision-tp,--targetportAGENT_PORT β the port of the host to provision-r,--registrarhostREGISTRAR_IP β the IP address of the registrar where to retrieve the agents data from-rp,--registrarportREGISTRAR_PORT β the port of the registrar--cv_targethostCV_AGENT_IP β the IP address of the host to provision that the verifier will use (optional). use this only if it's different than the argument to option-t/--targethost-v,--cvVERIFIER_IP β the IP address of the cloud verifier-vp,--cvportVERIFIER_PORT β the port of the cloud verifier-vi,--cvidVERIFIER_ID β the unique identifier of a cloud verifier-nvc,--no-verifier-checkβ disables the check that confirms whether the agent is being processed by the specified verifier. only use this with-c/--commanddeleteorreactivateβ οΈ-u,--uuidAGENT_UUID β UUID for the agent to provision-f,--fileFILE β delivers the specified plaintext file to the provisioned agent--certCA_DIR β create and deliver a certificate using a CA created byca-util. pass in the CA directory, or use"default"to use the standard directory-k,--keyKEYFILE β an intermediate key file produced byuser_data_encrypt-p,--payloadPAYLOAD β specifies the encrypted payload to deliver with encrypted keys specified by-k--includeINCL_DIR β includes additional files in the provided directory in the certificate zip file. must be specified with--cert--runtime-policyRUNTIME_POLICY β specifies the file path of a runtime policy--runtime-policy-checksumRUNTIME_POLICY_CHECKSUM β specifies the SHA-256 checksum of a runtime policy--runtime-policy-sig-keyRUNTIME_POLICY_SIG_KEY β specifies the public key file used to validate the runtime policy signature--runtime-policy-urlRUNTIME_POLICY_URL β specifies the URL of a remote runtime policy--runtime-policy-nameRUNTIME_POLICY_NAME β the name of the runtime policy to operate with--mb-policyMB_POLICY β the measured boot policy to operate with--mb-policy-nameMB_POLICY_NAME β the name of the measured boot policy to operate with--tpm_policyTPM_POLICY β specifies a TPM policy in JSON format. example:{"15":"0000000000000000000000000000000000000000"}--verifyβ blocks on cryptographically checked key derivation confirmation from the agent once it's been provisioned--supported-versionSUPPORTED_VERSION β the API version that's supported by the agent. detected automatically by default πͺ
π DEPRECATED OPTIONS π
π¨ heads up bestie: these are deprecated and may be removed in future versions. they still work (for now) but the glow-up is real and you should migrate.
--allowlistALLOWLIST β DEPRECATED: migrate to runtime policies for continued functionality. specifies the file path of an allowlist--allowlist-urlALLOWLIST_URL β DEPRECATED: migrate to runtime policies for continued functionality. specifies the URL of a remote allowlist--allowlist-nameALLOWLIST_NAME β DEPRECATED: migrate to runtime policies for continued functionality. the name of the allowlist to operate with--excludeIMA_EXCLUDE β DEPRECATED: migrate to runtime policies for continued functionality. specifies the location of an IMA exclude list--mb_refstateMB_POLICY β DEPRECATED: use--mb-policyinstead. specifies the location of a measured boot reference state--signature-verification-keyIMA_SIGN_VERIFICATION_KEYS β DEPRECATED: provide verification keys as part of a runtime policy for continued functionality. specifies an IMA file signature verification key
π EXAMPLES π
add a new agent:
sudo keylime_tenant -c add -t 192.168.1.100 -u agent-001
add an agent with a runtime policy:
sudo keylime_tenant -c add -t 192.168.1.100 -u agent-001 --runtime-policy /path/to/policy.json
check agent status:
sudo keylime_tenant -c status -u agent-001
delete an agent:
sudo keylime_tenant -c delete -u agent-001
list all agents:
sudo keylime_tenant -c cvlist
add a runtime policy:
sudo keylime_tenant -c addruntimepolicy --runtime-policy-name my-policy --runtime-policy /path/to/policy.json
add a measured boot policy:
sudo keylime_tenant -c addmbpolicy --mb-policy-name my-mb-policy --mb-policy /path/to/mb-policy.json
provision an agent with certificate delivery:
sudo keylime_tenant -c add -t 192.168.1.100 -u agent-001 --cert default
provision an agent with a custom verifier:
sudo keylime_tenant -c add -t 192.168.1.100 -u agent-001 -v 192.168.1.200 -vp 8881
π FILES π
/etc/keylime/tenant.confβ the default configuration file forkeylime_tenant. it contains all tenant-related settings, so like... everything you need in one place π«Ά
π§ PREREQUISITES π§
before you go off and do the thing, make sure you've got:
- Keylime verifier service running (default:
127.0.0.1:8881) - Keylime registrar service running (default:
127.0.0.1:8891) - root privileges (use
sudoβ yes, again) - network connectivity to the registrar and verifier services
- valid TLS configuration in
/etc/keylime/tenant.conf
π₯ SEE ALSO π₯
keylime_verifier(8), keylime_registrar(8), keylime_agent(8)
for more info about Keylime, visit: https://keylime.dev π
π BUGS π
found something cursed? report bugs to the Keylime project at: https://github.com/keylime/keylime/issues β they wanna know, fr fr.
β AUTHOR β
Keylime Developers β absolute legends π
mwah π that's the whole page bestie β KEYLIME_TENANT(1) straight outta the General Commands Manual, dated July 2025. go provision something iconic π¦β¨
π¦ where this page comes from
- centos-stream 10: keylime-tenant 7.14.3-3.el10 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms