Skip to content

Configuring the Agent

The Keystash Agent uses a configuration file located at /etc/keystash/keystash.conf. Here are the key configuration options:

Required Configuration

# Your Keystash Account ID
account_id=XXXXXXXXXX

# Deployment Secret from your Keystash account
deployment_secret=XXXXXXXXXX

Optional Configuration

# Server Group ID to place the server into a pre-defined group
server_group_id=XXXXXXXXXX

# Proxy configuration if required
proxy_url=https://proxy-server.example.com:8443

Note

All of the required settings can be found in the Keystash web interface under Server Management > Servers > Deploy to New Server.

Command Line Configuration

You can also configure the agent using the command line interface:

/opt/keystash/keystash-key-manager.bin --mode=config \
    --account_id=XXXXXXXXXX \
    --deployment_secret=XXXXXXXXXX \
    --server_group_id=XXXXXXXXXX \
    --proxy_url=https://proxy-server.example.com:8443