Merge: 89ce91c2 3e98b8df
Author: David Christofas <dchristofas@owncloud.com>
Date:   Thu Sep 23 04:46:00 2021 -0400

    Merge pull request #2527 from ishank011/token-expiration

    Set reva JWT token expiration time to 24 hours by default
This commit is contained in:
David Christofas committed 2021-09-23 08:48:41 +00:00
1 parent 5bc9086855
commit 667d2bc318
14 files changed
+3840 -3840

No files matched your search

+334 -334
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:38:04+0000"
date: "2021-09-23T08:46:22+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -34,257 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts server
Start ocis accounts service
Usage: `accounts server [command options] [arguments...]`
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $ACCOUNTS_TRACING_SERVICE
: Service name for tracing. Default: `"accounts"`.
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-addr | $ACCOUNTS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9181"`.
-http-root | $ACCOUNTS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $ACCOUNTS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
: Enable demo users and groups. Default: `true`.
-asset-path | $ACCOUNTS_ASSET_PATH
: Path to custom assets. Default: `""`.
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
### accounts add
@@ -489,6 +238,88 @@ Usage: `accounts inspect [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
@@ -562,88 +393,6 @@ Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
@@ -930,6 +679,257 @@ Usage: `accounts version [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts server
Start ocis accounts service
Usage: `accounts server [command options] [arguments...]`
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $ACCOUNTS_TRACING_SERVICE
: Service name for tracing. Default: `"accounts"`.
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-addr | $ACCOUNTS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9181"`.
-http-root | $ACCOUNTS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $ACCOUNTS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
: Enable demo users and groups. Default: `true`.
-asset-path | $ACCOUNTS_ASSET_PATH
: Path to custom assets. Default: `""`.
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+220 -220
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -34,6 +34,225 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### idp version
Print the versions of the running instances
Usage: `idp version [command options] [arguments...]`
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $IDP_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $IDP_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### idp server
@@ -264,225 +483,6 @@ Usage: `idp server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### idp version
Print the versions of the running instances
Usage: `idp version [command options] [arguments...]`
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $IDP_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $IDP_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+52 -52
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -34,57 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
-debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9109"`.
### proxy ocis-proxy
@@ -364,4 +313,55 @@ Usage: `proxy version [command options] [arguments...]`
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
-debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9109"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+68 -68
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:22+0000"
date: "2021-09-23T08:47:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -34,6 +34,73 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9189"`.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
### thumbnails server
@@ -173,71 +240,4 @@ Usage: `thumbnails version [command options] [arguments...]`
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9189"`.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:22+0000"
date: "2021-09-23T08:47:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
@@ -73,46 +73,6 @@ Usage: `web [global options] command [command options] [arguments...]`
## Sub Commands
### web health
Check health status
Usage: `web health [command options] [arguments...]`
-debug-addr | $WEB_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9104"`.
### web server
@@ -240,4 +200,44 @@ Usage: `web server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### web health
Check health status
Usage: `web health [command options] [arguments...]`
-debug-addr | $WEB_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9104"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:22+0000"
date: "2021-09-23T08:47:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+116 -116
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-23T08:39:21+0000"
date: "2021-09-23T08:47:18+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -133,34 +133,6 @@ Usage: `ocis list [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
@@ -189,37 +161,6 @@ Usage: `ocis run [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
@@ -274,94 +215,113 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis settings
Start settings server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis webdav
Start webdav server
#### ocis storage-gateway
#### ocis ocs
Start storage gateway
#### ocis storage-public-link
Start storage public link storage
#### ocis glauth
Start glauth server
Start ocs server
#### ocis proxy
Start proxy server
#### ocis storage-frontend
#### ocis storage-users
Start storage frontend
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis idp
Start idp server
#### ocis ocs
Start ocs server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis web
Start web server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis thumbnails
Start thumbnails server
Start storage and data provider for /users mount
#### ocis accounts
Start accounts server
#### ocis storage-auth-basic
#### ocis storage-app-provider
Start storage auth-basic service
Start storage app-provider service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-home
#### ocis storage-metadata
Start storage and data provider for /home mount
Start storage and data service for metadata
#### ocis storage-sharing
#### ocis web
Start storage sharing service
Start web server
#### ocis store
#### ocis settings
Start a go-micro store
Start settings server
#### ocis storage-frontend
Start storage frontend
#### ocis version
@@ -371,3 +331,43 @@ Lists running services with version
Start storage groupprovider service
#### ocis store
Start a go-micro store
#### ocis glauth
Start glauth server
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis idp
Start idp server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-gateway
Start storage gateway
#### ocis storage-userprovider
Start storage userprovider service
#### ocis thumbnails
Start thumbnails server