1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
16 c.AnonymousTokens = []string{"xxxxxxxxxxxxxxxxxxxxxxx"}
17 c.Client.APIHost = "zzzzz.arvadosapi.com:443"
18 exampleConfigFile, err := json.MarshalIndent(c, " ", " ")
22 fmt.Fprintf(os.Stderr, `
24 Keep-web provides read-only HTTP access to files stored in Keep; see
25 https://godoc.org/github.com/curoverse/arvados/services/keep-web and
26 http://doc.arvados.org/install/install-keep-web.html
28 Usage: keep-web -config path/to/keep-web.yml
33 fmt.Fprintf(os.Stderr, `
39 Address (or address:port) of the Arvados API endpoint.
43 Unused. Normally empty, or omitted entirely.
47 True if your Arvados API endpoint uses an unverifiable SSL/TLS
52 Local port to listen on. Can be "address", "address:port", or
53 ":port", where "address" is a host IP address or name and "port"
54 is a port number or name.
58 Array of tokens to try when a client does not provide a token.
62 Accept credentials, and add "Content-Disposition: attachment"
63 response headers, for requests at this hostname:port.
65 This prohibits inline display, which makes it possible to serve
66 untrusted and non-public content from a single origin, i.e.,
67 without wildcard DNS or SSL.
71 Serve non-public content from a single origin. Dangerous: read
76 Maximum time to cache manifests and permission checks.
80 Maximum time to cache collection state.
82 Cache.MaxCollectionEntries:
84 Maximum number of collection cache entries.
86 Cache.MaxCollectionBytes:
88 Approximate memory limit for collection cache.
90 Cache.MaxPermissionEntries:
92 Maximum number of permission cache entries.
96 Maximum number of UUID cache entries.