Skip to content

Commit

Permalink
commit e2306ad
Browse files Browse the repository at this point in the history
Merge: 6fcae4d a680fc1
Author: David Christofas <[email protected]>
Date:   Thu Sep 16 07:46:47 2021 -0400

    Merge pull request #2495 from owncloud/skip_demo_users

    Add option to generate the demo users
  • Loading branch information
David Christofas committed Sep 16, 2021
1 parent 481614b commit 8f67e00
Show file tree
Hide file tree
Showing 14 changed files with 942 additions and 930 deletions.
170 changes: 91 additions & 79 deletions extensions/accounts/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:42:35+0000"
date: "2021-09-16T11:47:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
Expand Down Expand Up @@ -35,27 +35,19 @@ If multiple variables are listed for one option, they are in order of precedence

If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.

### accounts ocis-accounts
### accounts inspect

Provide accounts and groups for oCIS
Show detailed data on an existing account

Usage: `accounts ocis-accounts [command options] [arguments...]`
Usage: `accounts inspect [command options] [arguments...]`


-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.


-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.


-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.


-extensions |
: Run specific extensions during supervised mode.



Expand Down Expand Up @@ -118,15 +110,19 @@ Usage: `accounts ocis-accounts [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 list

### accounts rebuildIndex
List existing accounts

Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts list [command options] [arguments...]`

Usage: `accounts rebuildIndex [command options] [arguments...]`



Expand Down Expand Up @@ -192,18 +188,22 @@ Usage: `accounts rebuildIndex [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 inspect

Show detailed data on an existing account

Usage: `accounts inspect [command options] [arguments...]`
### accounts add

Create a new account

Usage: `accounts add [command options] [arguments...]`



Expand Down Expand Up @@ -255,34 +255,79 @@ Usage: `accounts inspect [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"`.


-enabled |
: Enable the account.


-displayname |
: Set the displayname for the account.


-username |
: Username will be written to preferred-name and on_premises_sam_account_name.


-preferred-name |
: Set the preferred-name for the account.


-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.


-uidnumber |
: Set the uidnumber for the account.


-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-gidnumber |
: Set the gidnumber for the account.


-mail |
: Set the mail for the account.


-description |
: Set the description for the account.


-password |
: Set the password for the account.


-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.


-force-password-change |
: Force password change on next sign-in.


-force-password-change-mfa |
: Force password change on next sign-in with mfa.


-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.

### accounts list

List existing accounts

Usage: `accounts list [command options] [arguments...]`


### accounts remove

Removes an existing account

Usage: `accounts remove [command options] [arguments...]`






Expand Down Expand Up @@ -357,18 +402,27 @@ Usage: `accounts list [command options] [arguments...]`



### accounts ocis-accounts

Provide accounts and groups for oCIS

### accounts remove
Usage: `accounts ocis-accounts [command options] [arguments...]`

Removes an existing account

Usage: `accounts remove [command options] [arguments...]`
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.


-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.


-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.


-extensions |
: Run specific extensions during supervised mode.



Expand Down Expand Up @@ -431,12 +485,8 @@ 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"`.



Expand Down Expand Up @@ -507,6 +557,10 @@ Usage: `accounts server [command options] [arguments...]`
: 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: `""`.

Expand Down Expand Up @@ -644,6 +698,7 @@ Usage: `accounts update [command options] [arguments...]`






-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
Expand Down Expand Up @@ -790,6 +845,7 @@ Usage: `accounts version [command options] [arguments...]`






-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
Expand All @@ -803,17 +859,11 @@ Usage: `accounts version [command options] [arguments...]`



### accounts add

Create a new account

Usage: `accounts add [command options] [arguments...]`




### accounts rebuildIndex

Rebuilds the service's index, i.e. deleting and then re-adding all existing documents

Usage: `accounts rebuildIndex [command options] [arguments...]`



Expand Down Expand Up @@ -858,64 +908,26 @@ Usage: `accounts add [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"`.


-enabled |
: Enable the account.


-displayname |
: Set the displayname for the account.


-username |
: Username will be written to preferred-name and on_premises_sam_account_name.


-preferred-name |
: Set the preferred-name for the account.


-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.


-uidnumber |
: Set the uidnumber for the account.


-gidnumber |
: Set the gidnumber for the account.


-mail |
: Set the mail for the account.


-description |
: Set the description for the account.


-password |
: Set the password for the account.


-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.


-force-password-change |
: Force password change on next sign-in.


-force-password-change-mfa |
: Force password change on next sign-in with mfa.



Expand Down
Loading

0 comments on commit 8f67e00

Please sign in to comment.