Data Users¶
A Data User (internally IncomingUser) is an account that grants external clients access to the Data Portal. Data Users are independent of Web Users (monitoring-interface accounts) and are managed at /do/user/incoming in the monitoring interface.
Core concepts¶
What a Data User controls¶
| Attribute | Purpose |
|---|---|
| Data Login | Unique identifier used as the username when connecting (e.g. myorg_data) |
| Portal Service | How visitors authenticate — see Portal Service modes below |
| Enabled | Whether the account is active. Disabled users cannot connect |
| Password / external authentication | Login credentials or configured authentication provider (Standard Login mode only) |
| S3 signing secret | Separate secret for signed S3 access |
| Comment | Free-text description shown in the monitoring interface |
| Country | Country flag shown in the user list |
| Properties | Fine-grained portal.* ECtrans options — see Data User Options |
| Authorised SSH Keys | Public keys for SFTP key-based authentication |
| Data Policies | Groups of permissions that define which Destinations are accessible |
| Destinations | Direct destination associations (alternative to using a Data Policy) |
Data Policies¶
A Data Policy groups one or more Destinations and a set of permitted operations (e.g. get, put, delete, dir). Assigning a Data Policy to a Data User is the recommended way to grant access to multiple destinations with a consistent permission set.
A Data User can also be associated directly with individual Destinations, which is useful for one-off or special-case configurations. If a user has neither direct Destination associations nor any Data Policy covering reachable Destinations, the monitoring interface flags them as Unassigned in the user list.
Portal Service modes¶
The Portal Service field controls how visitors authenticate when they access the data portal for a given Data User. The setting is managed with the user's account.
Standard Login (default)¶
Pre-configured credentials required
Visitors must authenticate with a username and password (or TOTP passcode) that an administrator has configured in advance. This is the classic mode suitable for organisations or individuals who need controlled, audited access.
- Supports TOTP (Time-based One-Time Password) two-factor authentication
- Password can be generated automatically via the Generate button in the editor
- SSH public-key authentication is supported for SFTP connections via Authorised SSH Keys
Use when: the set of users is known in advance and must be explicitly provisioned.
Open Access¶
No credentials required
Anyone can access the data portal for this user without providing any credentials. The portal serves the data publicly, with no login prompt.
- TOTP and password fields are not shown or used
- Suitable for fully public, open datasets
- Can be combined with
portal.geoblockingto restrict by geography if needed
Use when: the data is intended for unrestricted public access (e.g. open-data portals, WMO WIS2 datasets).
Self-Service¶
Visitors register themselves via email verification
Anyone can request access by filling in a registration form. OpenECPDS sends them a verification email; once they click the link their credentials are activated and emailed to them. They then log in using the Data User's login name as the username and their own personal, auto-generated password.
All configuration of the Data User (destinations, permissions, portal options) applies equally to every registered subscriber — you configure it once and all subscribers inherit it automatically.
How it works end-to-end¶
- Administrator sets the Portal Service to Self-Service on the Data User. The Share registration link item appears automatically in the portal menu for Self-Service users. Optionally, set per-user properties in the Data User's Properties field:
- Administrator shares the registration link. When logged into the data portal as the Self-Service Data User, the username menu (top-right) shows a Share registration link item which opens:
- Visitor fills in the form (name, email address, country) and clicks Send Verification Email.
- OpenECPDS creates an inactive subscriber record, generates a unique verification token and a random 12-character password, and sends the visitor a verification email.
- Visitor clicks the link in the email (
/ecpds/verify?token=…). - If
portal.registrationAutoApprove = "true"→ subscriber is immediately activated and receives a second email containing their login credentials (username + personal password). - If
portal.registrationAutoApprove = "false"(default) → the administrator is notified and must manually activate the subscriber in the admin interface before credentials are sent. - Visitor logs into the data portal using:
- Username: the Data User's login (e.g.
myorg_data) - Password: their personal auto-generated password
Configuration reference¶
Per-user ECtrans properties (set in the Data User's Properties field):
| Property | Default | Description |
|---|---|---|
portal.registrationAutoApprove | "false" | Activate subscriber immediately when they verify their email |
portal.registrationAdminEmail | (empty) | Email address to notify on each new registration or activation |
Global admin email fallback
portal.registrationAdminEmail can also be set globally in ecmwf.properties ([DataPortal] section) as registrationAdminEmail=you@org.com. The per-user property takes precedence when set.
Use when: the audience is too large or dynamic to provision manually, but you still want to know who is accessing the data and be able to revoke individual access — unlike Open Access which is fully anonymous.
Managing Data Users¶
Listing users (/do/user/incoming)¶
The user list shows all Data Users with their Portal Service badge, Enabled status, external-authentication status (labelled TOTP, or N/A for non-Standard-Login users), country flag, and active session count.
The Filter button opens a query builder with the following criteria:
| Filter | Description |
|---|---|
| Destination | Users reachable via this destination (direct or via a policy) |
| Policy | Users that have this Data Policy assigned |
| Comment | Glob pattern match on the comment field (* and ? wildcards) |
| Country | Filter by country |
| Enabled | Yes / No |
| Portal Service | Standard Login / Open Access / Self-Service |
| TOTP | Yes / No (only meaningful for Standard Login users) |
| Properties errors | Show only users whose ECtrans properties contain validation errors |
Use the Unassigned only button to quickly identify users with no reachable Destinations — these users would never be able to access any data.
Creating a user¶
Navigate to /do/user/incoming and click Create. The minimum required fields are:
- Data Login — unique, alphanumeric +
_and.only - Portal Service — choose the appropriate mode
- Password (local Standard Login) — use Generate for a secure random password, or enable external authentication for the user
- At least one Destination or Data Policy association
Editing a user¶
Navigate to /do/user/incoming/edit/update_form/<login>. Changes are saved immediately on clicking Save. The external-authentication and password fields are hidden when the Portal Service is set to Open Access or Self-Service. An existing password cannot be displayed; leave the field blank to keep it unchanged.
Viewing a user¶
The read-only view at /do/user/incoming/<login> shows the user's current configuration, active sessions, associated Destinations and Policies, and recent connection history.
Authentication details¶
Password authentication¶
When Portal Service is Standard Login and external authentication is disabled for the user, the username and local password authenticate supported password-based protocols such as FTP, SFTP, WebDAV and HTTPS. Signed S3 uses a separate secret.
TOTP (Two-Factor Authentication)¶
When External authentication is enabled, the configured Master authentication provider validates the user's credentials instead of the local password. The bundled ECMWF provider accepts passwords or TOTP passcodes; other providers may behave differently. If no provider is configured, login fails without a local-password fallback. See TOTP Authentication.
SSH public-key authentication (SFTP)¶
Public keys listed in the Authorised SSH Keys field are accepted for SFTP connections in addition to (or instead of) password/TOTP. One key per line, in standard OpenSSH format.
S3 authentication¶
For signed S3 connections, use the Data Login as the AccessKeyId and a separate S3 signing secret as the SecretAccessKey. Set or disable that secret on the user edit page; it cannot be displayed afterwards. Signed S3 is not available for externally authenticated or Self-Service users. Open Access users can connect without credentials. See S3 signing secrets for configuration and existing credentials.
Related¶
- Data Portal — overview of portal workflows (push / pull)
- Data User Options — full
portal.*ECtrans property reference - Portal Transfer Module — technical module details
- REST API — Destination Metadata — programmatic metadata access
- INH event fields — incoming connection history records
- DEA event fields — denied access records
- Web Users — the Monitoring UI counterpart to Data Users
- TOTP Authentication — configuring TOTP for Data Users and Web Users