---
url: /en/docs/additions/administration.md
description: >-
  Manage users, sign-in methods, allowed domains, the GitHub App, commit authors
  and shared API keys for Sveltia CMS Additions on the Administration page.
---

# Administration Page

Admins manage [Sveltia CMS Additions](/en/docs/additions) from the CMS itself. Select **Administration** in the toolbar, after the other pages, or on the Menu page on a small screen. The page has a section for each topic, listed in its sidebar.

Every setting lives in the service’s database, not in the CMS configuration or in Cloudflare. Secret values, such as the GitHub App’s private key, are write-only: the CMS can replace them, but never reads them back.

When a new version of Sveltia CMS Additions is out, the page shows a notice with a link to the release notes. See [Updating](/en/docs/additions/setup#updating).

::: info CMS Configuration

With [developer mode](/en/docs/ui#developer-mode) turned on, the Administration page also has a **CMS Configuration** section, which shows the configuration the CMS has loaded. It’s there for everyone in developer mode, with or without Sveltia CMS Additions.

:::

## Users

Lists the people who can sign in, and lets you add them, change their roles, reset their passwords, sign them out, and disable or delete their accounts. See [Users and Roles](/en/docs/additions/users) for details.

## Sign-In

* **Allow signing in with GitHub:** shows a **Sign In with GitHub** button on the sign-in page. See [Signing In with GitHub](/en/docs/additions/users#signing-in-with-github).
* **Sign-Up Rules:** lets the members of a GitHub organization sign in without being added first. See [Sign-Up Rules](/en/docs/additions/users#sign-up-rules).

Signing in with a username and password is always available.

## Domains

Lists the sites that can use the service, one host name per line. The service refuses requests from any other site, and after someone signs in with GitHub, it only sends them back to one of these sites.

* A wildcard (`*`) matches any subdomain: `*.example.com` matches `www.example.com`, but not `example.com`. It’s only accepted at the start of a host name, followed by at least two parts, so `example.*` and `*.com` are refused.
* Sites must use HTTPS, except `localhost` and `127.0.0.1`, which work over HTTP when you list them.
* The site you’re using can’t be removed, so you can’t lock yourself out.

The setup wizard adds your site for you. Prefer exact host names to wildcards: a wildcard trusts every subdomain, including one someone else might take over, such as a forgotten preview deployment. Never use one for a domain where anyone can get a subdomain, as in `*.pages.dev` or `*.netlify.app`: the list also decides where sign-ins are sent back to, so a site someone else controls could receive a sign-in meant for yours.

Changes take effect within a minute.

## GitHub

Shows the GitHub App, the repository it’s installed on and whether it works. If something is wrong, e.g. the app has been uninstalled or suspended, it says what to do. Select **Check Again** after fixing it.

### Branch Protection

The section warns you until a [ruleset](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets) protects the default branch from force pushes and deletion, without the app on its bypass list. Otherwise, anyone with the editor role could rewrite the branch’s history or delete it, since the app’s tokens can write to it. **Open Repository Rules** takes you to the settings on GitHub.

### Private Key

The service signs its requests to GitHub with the app’s private key. When the key has been lost, e.g. because the admin secret was replaced, or GitHub no longer accepts it, the page says so and shows the steps below. To replace a key that still works, e.g. because it may have been exposed, select **Replace Private Key** first.

1. Select **Open App Settings** and generate a new private key on GitHub.
2. Select **Upload Private Key**, and choose the `.pem` file GitHub downloaded.
3. Delete the old key on GitHub.

### Commit Author

Chooses who appears as the author of changes saved by people who don’t [sign in with GitHub](/en/docs/additions/users#signing-in-with-github):

* **The person who made the change** (default): commits carry the person’s name and email. GitHub links them to the person’s profile when the email belongs to a GitHub account. Without an email, the address is made from the username, such as `jane@users.noreply.example.com`, so it can’t match anyone’s GitHub account.
* **The GitHub App, with the person as co-author**: commits are made by the app, with a `Co-authored-by` trailer naming the person.

GitHub only signs commits that the app authors. If a ruleset requires [signed commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification), choose the app; otherwise GitHub refuses the commits.

Either way, pushes, pull requests and merges made through the [Editorial Workflow](/en/docs/workflows/editorial) show the app on GitHub, because GitHub records who made the request.

People who sign in with GitHub always commit as themselves, with their own account.

## Credentials

Holds API keys and the deploy hook for everyone who signs in, so nobody has to enter them separately. Keys can be shared for every service that takes one:

* [translation services](/en/docs/integrations/translations) and other upcoming AI integrations
* [cloud storage](/en/docs/media#external-storage) providers
* [stock photo](/en/docs/integrations/stock-photos) providers

The groups appear when the CMS configuration turns the services on. The deploy hook works like one entered in the [settings](/en/docs/deployments#other-ci-cd-providers).

A key someone enters in their own settings takes precedence over the shared one. Their settings show a shared key as “Provided by your administrator”, without revealing it, and the shared keys are forgotten when they sign out.

::: warning Shared keys aren’t secret from your team

The CMS calls these services from the browser, so anyone who can sign in can read the shared keys, viewers included. Only share keys you’re happy for the whole team to have, and prefer keys limited to the services and quotas the CMS needs.

:::
