The CLI tools (except rd-acl
) use the Rundeck API to communicate to the Rundeck server.
Authentication to the server can happen in several ways:
The default mechanism is to use these properties stored in the framework.properties
file:
framework.server.url
The URL to connect to Rundeckframework.server.username
The usernameframework.server.password
The passwordThis requires storing the username/password in plaintext on the filesystem.
These environment variable can be used to define the connection and authentication data:
RUNDECK_URL
The URL to connect to RundeckRUNDECK_USER
The usernameRUNDECK_PASS
The passwordExample:
RUNDECK_URL=http://madmartigan.local:4440 RUNDECK_USER=admin RUNDECK_PASS=admin rd-jobs list -p test