CONDOR_STORE_CRED(1)

✨ NAME ✨

okay so bestie, this is the condor_store_cred page from the HTCondor Manual β€” it's the little tool that securely stashes a credential for you. no cap. πŸ”πŸ’–


🌸 SYNOPSIS 🌸

condor_store_cred -h

condor_store_cred action [ options ]

πŸŽ€ DESCRIPTION πŸŽ€

condor_store_cred stores credentials in a secure manner. like, it's not out here writing your secrets on a sticky note, okay?

There are three actions, and each one can optionally be followed by a hyphen and one of three types. so it's giving very mix-and-match πŸ’…

The actions are:

  • add[-type] β€” Add credential to secure storage
  • delete[-type] β€” Remove credential from secure storage
  • query[-type] β€” Check if a credential has been stored

The types are:

  • -pwd β€” Credential is a password (this one's the default, bestie)
  • -krb β€” Credential is a Kerberos/AFS token
  • -oauth β€” Credential is Scitoken or Oauth2 token

Credentials are stashed in a persistent manner β€” they are maintained across system reboots. they survive, fr fr πŸ’€βœ¨ And lowkey important: when adding a credential, if there is already a credential stashed, the old credential will be overwritten by the new one. no undo button, so be careful πŸ‘‘

There are two separate uses of the password actions of condor_store_cred:

  1. A shared pool password is needed in order to implement the PASSWORD authentication method. condor_store_cred using the -c option deals with the password for the implied condor_pool@$(UID_DOMAIN) user name.

On a Unix machine, condor_store_cred add[-pwd] with the -f option is used to set the pool password, as needed when used with the PASSWORD authentication method. The pool password is placed in a file specified by the SEC_PASSWORD_FILE configuration variable.

  1. In order to submit a job from a Windows platform machine, or to execute a job on a Windows platform machine utilizing the run_as_owner functionality, condor_store_cred add[-pwd] stores the password of a user/domain pair securely in the Windows registry. Using this stored password, HTCondor may act on behalf of the submitting user to access files, such as writing output or log files. HTCondor is able to run jobs with the user ID of the submitting user. The password is stored in the same manner as the system does when setting or changing account passwords. iconic behavior honestly πŸͺŸπŸ’–

Unless the -p argument is used with the add or add-pwd action, the user is prompted to enter the password twice for confirmation, and characters are not echoed. (yes bestie, like a real password prompt β€” nobody's watching you type πŸ™ˆ)

The add-krb and add-oauth actions must be used with the -i argument to specify a filename to read from. required. non-negotiable. πŸ“

The -oauth actions require a -s service name argument. The -S and -A options may be used with add-oauth to add scopes and/or audience to the credentials, or with query-oauth to make sure that the scopes or audience match the previously stored credentials. If either -S or -A are used then the credentials must be in JSON format. The credential is assumed to be a refresh token that the CredMon daemon knows how to turn into an access token for use by jobs. The -P option can be used to indicate that the credential is an access token that requires no additional handling by the CredMon. 🎫✨


πŸ’… OPTIONS πŸ’…

  • -h β€” Displays a brief summary of command options.
  • -c β€” [-pwd] actions refer to the pool password, as used in the PASSWORD authentication method.
  • -f filename β€” For Unix machines only, generates a pool password file named filename that may be used with the PASSWORD authentication method.
  • -i filename β€” Read credential from filename. If filename is -, read from stdin. Required for add-krb and add-oauth.
  • -s service β€” The Oauth2 service. Required for all -oauth actions.
  • -H handle β€” Specify a handle for the given OAuth2 service.
  • -S scopes β€” Optional comma-separated list of scopes to request for add-oauth action. If used with the query-oauth action, makes sure that the same scopes were requested in the original credential. Requires credentials to be in JSON format.
  • -A audience β€” Optional audience to request for add-oauth action. If used with the query-oauth action, makes sure that the same audience was requested in the original credential. Requires credentials to be in JSON format.
  • -P β€” Indicate that the Oauth2 credential is an access token.
  • -n machinename β€” Apply the command on the given machine.
  • -p password β€” Stores password, rather than prompting the user to enter a password. If password is -, password is read from stdin.
  • -u username β€” Specify the user name.

πŸ”₯ EXIT STATUS πŸ”₯

condor_store_cred will exit with a status value of 0 (zero) upon success. yay! πŸŽ‰

If the query-oauth action finds a credential but the scopes or audience don't match, condor_store_cred will exit with a status value 2 (two). 🚩

Otherwise, it will exit with the value 1 (one) upon failure. πŸ’€


πŸ‘‘ AUTHOR πŸ‘‘

HTCondor Team 🫢


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.


okay that's the whole page bestie, you understood it perfectly, I'm so proud of you πŸ₯ΉπŸ’–

that was CONDOR_STORE_CRED(1) from the HTCondor Manual, dated Oct 16, 2026. go stash those creds securely, you absolute legend πŸ‘‘βœ¨πŸŒΈ

πŸ“¦ where this page comes from