The various clients (camput, camget, cammount...) use a common JSON config file. This page documents the configuration parameters in that file. Run camtool env clientconfig
to see the default location for that file.
camput init
auth
: the authentication mechanism to use. Only supported for now is HTTP basic authentication, of the form: userpass:alice:secret
. Username "alice", password "secret".
If the server is not on the same host, it is highly recommended to use TLS or another form of secure connection to the server.
server
: The camlistored server to connect to, of the form: "[http[s]://]host[:port][/prefix]". Defaults to https. This option can be overriden with the "-server" command-line flag.identity
: your GPG fingerprint. See camput init
for help on how to generate a new keypair.identitySecretRing
: Optional. If non-empty, it specifies the location of your GPG secret keyring. Defaults to $HOME/.config/camlistore/identity-secring.gpg. See camput init
for help on how to generate a new keypair.trustedCerts
: Optional. This is the list of TLS server certificate fingerprints that the client will trust when using HTTPS. It is required when the server is using a self-signed certificate (as Camlistore generates by default) instead of a Root Certificate Authority-signed cert (sometimes known as a "commercial SSL cert"). The format of each item is the first 20 hex digits of the SHA-256 digest of the cert. Example: "trustedCerts": ["ffc7730f4bf00ba4bad0"]
ignoredFiles
: Optional. The list of of files that camput should ignore and not try to upload when using -filenodes.