> For the complete documentation index, see [llms.txt](https://learn.capstorm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.capstorm.com/copystorm-director/reference/copystorm-jobrunner/copystorm-jobrunner-credentials.md).

# CopyStorm/JobRunner Credentials

CopyStorm/JobRunner requires that the credentials for a CopyStorm/Director database be specified. There are two ways to specify credentials:

* Explicitly as clear text on the command line.
* Explicitly as an encrypted token on the command line.

The clear text approach is simple but not very secure. For example:

* CopyStormJobRunner.bat -cstype postgresql -csdatabase //localhost/copystormjob -csuser root -cspassword helloworld

The command line arguments shown are exactly the same data that is required to launch CopyStorm/Director.

To launch with an encrypted token requires a bit of setup but keeps intruders from seeing a visible password.

* The credential token is a DES-256 encrypted string.
* Example: CopyStormJobRunner.bat -cscredentials “u0JmFcF4te6InFu0owWtmRTpxMsqwnFp9MXeR7hf2LbQtxHgaHsaGt7i8CeYscQ9ZjvOObWGE6Frh2gLOIVILIruq7mYeXuUJLaYOxFuMCHKtxb4wBu5l+HoN41d1hWe+tLKNFuvyDUJEC9hMSWvkg==”

The process to generate a credential token involves one of:

* Opening the Job Runner tab on the CopyStorm/Director GUI and copying the generated token.
* Running CopyStorm/JobRunner on the command line with clear text credentials and the action “-action makeCredentials”.

## Approach 1: Copy a Credentials Token From the CopyStorm/Director GUI.

![](/files/LXZwHoGQjdog8UZVYgQv)

## Approach 2: Generate a Credentials Token From CopyStorm/JobRunner

![](/files/mFlgsxN3ljxG3lYBCbwA)

Capstorm recommends that an encrypted token always be used. However, anywhere CopyStorm/Director database are illustrated in the documentation, either form of credentials may be used.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learn.capstorm.com/copystorm-director/reference/copystorm-jobrunner/copystorm-jobrunner-credentials.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
