Skip to content

Commit

Permalink
HTCONDOR-2169 Add debugging entry for condor_ce_test_token
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeFrey committed Jan 23, 2024
1 parent 19fe79f commit c5cb784
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/v23/troubleshooting/debugging-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,35 @@ which is documented in the
[HTCondor manual](https://htcondor.readthedocs.io/en/lts/man-pages/condor_router_q.html)


condor_ce_test_token
--------------------

## Usage ###

Use the `condor_ce_test_token` command to test SciTokens
authentication in the CE.
It will create a token with an issuer and subject that you specify and
configure the CE daemons to accept that token as if it had been
generated by the given issuer (for one hour).
The token is printed to stdout; use it with `condor_ce_submit` to test
that SciTokens authentication and user mapping operate correctly.

To create a temporary SciToken that appears to be issued by the
SciTokens demo issuer:

``` console
root@host # condor_ce_token_test --issuer https://demo.scitokens.org
--audience ANY --scope condor:/WRITE --subject [email protected]
```

!!! note
You must run `condor_ce_test_token` on the CE that you are testing
as the root user.
`condor_ce_test_token` takes the same arguments as
`condor_test_token`, which is documented in the
[HTCondor manual](https://htcondor.readthedocs.io/en/lts/man-pages/condor_test_token.html).


condor_ce_status
----------------

Expand Down

0 comments on commit c5cb784

Please sign in to comment.