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. The list of TLS server certificates fingerprints (truncated at 10 digits) that the client will trust blindly when using https. It is required when the server is using a self-signed certificate. Example: "trustedCerts": ["ffc7730f4b"].ignoredFiles
: Optional. The list of of files that camput should ignore and not try to upload when using -filenodes.