CONDOR_TEST_TOKEN(1)

πŸ’– CONDOR_TEST_TOKEN β€” the HTCondor manual, but make it make sense πŸ’–

okay bestie, so condor_test_token is a section 1 command from the HTCondor manual, and honestly? she's a whole vibe. the tl;dr: create a short-lived SciToken to authenticate with local HTCondor daemons. that's the name and that's the game. ✨


✨ SYNOPSIS ✨

condor_test_token [--help]

condor_test_token --issuer issuer-url --scope scopes [--subject subject]
[--lifetime lifetime] [--audience audience] [--cache cache-location]

🌸 DESCRIPTION 🌸

so here's the tea πŸ«–: condor_test_token generates a temporary signing key, adds it to the local SciTokens cache for whatever issuer you picked, creates a short-lived token signed by that key, and then prints the token to stdout. that's it. that's the whole girl.

and the magic part? local HTCondor daemons will treat this token like any regular token generated by the given issuer β€” for a short period of time, which is one hour. no cap. ⏳

heads up bestie 🚨: if the HTCondor daemons were started as root, then the tool must be run as the condor user. them's the rules fr fr.

πŸ’… OPTIONS πŸ’…

  • --help β€” drop the usage info. that's it, that's the whole option. πŸ™ˆ
  • --issuer issuer-url β€” tell it which issuer to impersonate. yes, impersonate. main character energy, but make it identity. πŸ‘‘
  • --scope scopes β€” set the scope claim for the token. this is the "what am i even allowed to do" part. πŸŽ€
  • --subject subject β€” set the sub claim for the token. default is no sub claim at all. if you don't ask, you don't get. πŸ’€
  • --lifetime lifetime β€” how long the token lives, in seconds. default is 1 hour. choose wisely, she's not immortal. ⏰
  • --audience audience β€” set the aud claim for the token. default is no aud claim. πŸ™ˆ
  • --cache cache-location β€” tell it where the SciTokens cache lives. default is to find the cache via HTCondor configuration files. it'll go looking for it all by itself, iconic. πŸ”

🌈 EXAMPLES 🌈

want a SciToken with WRITE-level access for user Alice, that looks like it was issued by the SciTokens demo issuer? say less. consent, but make it authentication:

$ condor_test_token --issuer https://demo.scitokens.org \
    --scope condor:/WRITE --sub alice@foo.org --aud ANY

ate. no crumbs. πŸ”₯


⭐ EXIT STATUS ⭐

  • condor_test_token exits with a status value of 0 (zero) upon success πŸŽ‰
  • and it exits with the value 1 (one) upon failure 😭

so yeah, 0 good, 1 bad. check your exit codes, bestie, they're literally telling you how it went.


πŸ¦‹ AUTHOR πŸ¦‹

HTCondor Team πŸ’œ (the goats, genuinely)


1990-2026, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.


aaaand that's the whole page, bestie 🫢 written for the HTCondor Manual, dated Oct 16, 2026, filed under CONDOR_TEST_TOKEN(1). go forth and generate short-lived tokens responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from