-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTCONDOR-2169 Add debugging entry for condor_ce_test_token
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
---------------- | ||
|
||
|