logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

condor_test_token - HTCondor Manual

Author

       HTCondor Team

Description

condor_test_token generates a temporary signing key, adds it to the local SciTokens cache for  the  given
       issuer,  creates  a  short-lived token signed by the key, and prints the token to stdout.  Local HTCondor
       daemons will treat this token like any reguluar token generated by the given issuer for a short period of
       time (one hour).

       If the HTCondor daemons were started as root, then the tool must be run as the condor user.

Examples

       To  create  a  SciToken with WRITE-level access for user Alice that appears to be issued by the SciTokens
       demo issuer:

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

Exit Status

condor_test_token will exit with a status value of 0 (zero) upon success, and it will exit with the value
       1 (one) upon failure.

Name

       condor_test_token - HTCondor Manual

       Create a short-lived SciToken to authenticate with local HTCondor daemons

Options

--help Display usage information

          --issuerissuer-url
                 Specify the issuer to impersonate

          --scopescopes
                 Specify the scope claim for the token

          --subjectsubject
                 specify the sub claim for the token (default is no sub claim)

          --lifetimelifetime
                 Specify the lifetime of the token in seconds (default 1 hour)

          --audienceaudience
                 Specify the aud claim for the token (default is no aud claim)

          --cachecache-location
                 Specify the SciTokens cache location (default is  to  find  cache  via  HTCondor  configuration
                 files)

Synopsis

condor_test_token [--help]

       condor_test_token--issuerissuer-url--scopescopes  [--subjectsubject]  [--lifetimelifetime]
       [--audienceaudience] [--cachecache-location]

See Also