|
| 1 | +--- |
| 2 | +id: admin-guide |
| 3 | +title: Admin Guide |
| 4 | +sidebar_position: 2 |
| 5 | +description: Your first day as a Hub administrator — add users and groups, connect your identity provider, enable Emergency Access, and keep an eye on audit logs and license seats. |
| 6 | +--- |
| 7 | + |
| 8 | +# Admin Guide |
| 9 | + |
| 10 | +This guide walks you through setting up a fresh Cryptomator Hub instance for your organization in about **20 minutes**. |
| 11 | + |
| 12 | +As a worked example, meet Alice: she administers Hub at the design agency Acme. |
| 13 | +Her instance is up and running, and now she adds her first users and a group, connects the company's identity provider, enables Emergency Access, and checks the audit log and license. |
| 14 | + |
| 15 | +## Before You Start {/* #before-you-start */} |
| 16 | + |
| 17 | +You need: |
| 18 | + |
| 19 | +* A running Hub instance — a local test instance from the [Quick Start](../quick-start.mdx) or a server deployment (managed or selfhosted) |
| 20 | +* An account with the `admin` [role](../user-group-management.mdx#roles), such as the initial admin account created during deployment. |
| 21 | + |
| 22 | +:::tip |
| 23 | +Not keen on hosting an instance yourself? Cryptomator Hub is also available as a [managed service](https://cryptomator.org/hub/managed/?utm_source=docs.cryptomator.org&utm_medium=referral&utm_campaign=admin-guide) with a free 30-day trial period — this guide applies there all the same. |
| 24 | +::: |
| 25 | + |
| 26 | +## Add Users and Groups {/* #add-users-and-groups */} |
| 27 | + |
| 28 | +Since version 2.0, users and groups are managed directly in Hub, via the `Users` and `Groups` entries in the sidebar. |
| 29 | +Alice creates accounts for Bob and Carol, each with username, email, and an initial password. |
| 30 | +She then creates the group *Designers* and adds both as members — sharing vaults with a group scales better than managing individual permissions. |
| 31 | + |
| 32 | +<Image src="/img/hub/user-create.png" alt="Create user form" width="2240" height="2064" /> |
| 33 | + |
| 34 | +Bob and Carol can now log in and complete their account setup, as described in the [User Guide](user-guide.mdx#set-up-your-account). |
| 35 | + |
| 36 | +For more details, read [Create User](../user-group-management.mdx#create-user), [Create Group](../user-group-management.mdx#create-group), and [Manage Group Members](../user-group-management.mdx#manage-group-members). |
| 37 | + |
| 38 | +## Connect Your Identity Provider {/* #connect-your-identity-provider */} |
| 39 | + |
| 40 | +Creating users by hand is fine for a handful of people. |
| 41 | +Since Acme already manages its staff in a central directory, Alice instead connects Hub's bundled Keycloak to it, so users log in with their existing credentials and accounts stay in sync. |
| 42 | + |
| 43 | +<Image src="/img/hub/access-keycloak-link.png" alt="Accessing Keycloak via Hub" width="2880" height="1520" /> |
| 44 | + |
| 45 | +The `Manage Keycloak` link takes Alice to the Keycloak admin console, where identity providers are configured on the `Identity providers` page: |
| 46 | + |
| 47 | +<Image src="/img/hub/keycloak-identity-providers.png" alt="Identity providers in the Keycloak admin console" width="2880" height="1800" /> |
| 48 | + |
| 49 | +Depending on what your organization runs, follow the matching reference section: |
| 50 | + |
| 51 | +* [OpenID Connect](../keycloak.mdx#openid-connect) providers such as Microsoft Entra ID or Google Workspace. |
| 52 | +* [LDAP and Active Directory](../keycloak.mdx#ldap-and-active-directory) for user federation. |
| 53 | +* [Mapping groups to roles](../keycloak.mdx#mapping-groups-to-roles), e.g. to grant an *IT* directory group the `admin` role automatically. |
| 54 | + |
| 55 | +For more details, read [Connecting an External Identity Provider](../keycloak.mdx#connecting-an-external-identity-provider) and [External Identity Management](../user-group-management.mdx#enterprise-external-iam). |
| 56 | + |
| 57 | +## Enable Emergency Access {/* #enable-emergency-access */} |
| 58 | + |
| 59 | +What if Bob leaves Acme and the *Client Projects* vault has no other owner? |
| 60 | +Emergency Access, new in version 2.0, lets a council of trusted users jointly restore access to a vault. |
| 61 | +Alice enables it in the admin area and defines a default council, so every new vault gets Emergency Access conditions during creation. |
| 62 | +For existing vaults, owners set up the council in the vault details. |
| 63 | + |
| 64 | +<Image src="/img/hub/admin-emergency-access.png" alt="Emergency Access" width="2880" height="1800" /> |
| 65 | + |
| 66 | +:::info[Enterprise Feature] |
| 67 | +Emergency Access is available as an Enterprise feature. |
| 68 | +Visit [cryptomator.org](https://cryptomator.org/hub/) for more information. |
| 69 | +::: |
| 70 | + |
| 71 | +For more details, read [Emergency Access admin settings](../admin.mdx#emergency-access), [Set Up Emergency Access](../emergency-access.mdx#set-up-emergency-access), and the per-vault [Emergency Access Council](../vault-management.mdx#emergency-access-council). |
| 72 | + |
| 73 | +## Review the Audit Log {/* #review-the-audit-log */} |
| 74 | + |
| 75 | +The next morning, Alice verifies that everything went as intended. |
| 76 | +In the audit log, she filters for vault events and sees the creation of *Client Projects* and the access grants for Carol and the *Designers* group, each with actor and timestamp. |
| 77 | + |
| 78 | +<Image src="/img/hub/auditlogs-overview.png" alt="Audit Logs Table View" width="2880" height="1720" /> |
| 79 | + |
| 80 | +For more details, read [Audit Logs](../admin.mdx#audit-logs), [Filtering Audit Logs](../admin.mdx#filtering-audit-logs), and the list of [Event Types](../admin.mdx#event-types). |
| 81 | + |
| 82 | +## Check Your License {/* #check-your-license */} |
| 83 | + |
| 84 | +Finally, Alice opens the license section of the admin area. |
| 85 | +With Bob and Carol having vault access, two seats are in use — a seat is occupied by every user who is assigned to at least one vault. |
| 86 | +The overview shows the used and licensed seats and where to upgrade before the team grows. |
| 87 | + |
| 88 | +<Image src="/img/hub/admin-area-license.png" alt="Administration area" width="2880" height="1800" /> |
| 89 | + |
| 90 | +For more details, read [License](../admin.mdx#license), [What Is a Seat?](../admin.mdx#what-is-a-seat), and [Updating Your License](../admin.mdx#updating-your-license). |
| 91 | + |
| 92 | +## Next Steps {/* #next-steps */} |
| 93 | + |
| 94 | +* Set up [backups](../operations.mdx#backup) before real data accumulates. |
| 95 | +* Harden logins with [session timeouts](../keycloak.mdx#session-timeouts) and [access restrictions](../keycloak.mdx#restricting-access-to-hub). |
| 96 | +* Send your team the [User Guide](user-guide.mdx) so they can get started on their own. |
0 commit comments