# Core concepts in Salto Nebula Entry
> Learn the core concepts of Salto Nebula Entry, such as installations, access points, access rights, keys, roles and key renewal.


## Overview {#overview}

This section explains key technical concepts in Salto Nebula Entry that affect how your access control system functions.
Understanding these concepts will help you configure your installation effectively and troubleshoot issues when they arise.

## Building blocks {#building-blocks}

The following elements make up a Nebula Entry installation:

| Concept | Description |
| --- | --- |
| Installation | The site you manage in Nebula Entry, for example an office building. All the other elements belong to an installation. See the [section on creating an installation](/nebula-entry/user-guide/system-manager/getting-started/create-installation). |
| Access point | A door, gate, turnstile or other entry point that you control. See the [access points section](/nebula-entry/user-guide/system-manager/access-points). |
| Device | The Salto hardware associated with access points, such as electronic locks, gateways and encoders. See the [devices section](/nebula-entry/user-guide/system-manager/settings/devices). |
| Access right | A set of access points that users can open, optionally limited by a schedule. See the [access rights section](/nebula-entry/user-guide/system-manager/access-rights). |
| User | A person who has access to your installation. You assign access rights and keys to users. See the [users section](/nebula-entry/user-guide/system-manager/users). |
| Key | The credential a user presents at an access point. Nebula Entry supports app keys, physical keys such as keycards or fobs, and passcodes. See the [section on supported key types](/nebula-entry/user-guide/system-manager/users/assign-keys#supported-key-types). |
| Unit | A sub-grouping of users, access points and access rights within an installation. See the [units section](/nebula-entry/user-guide/system-manager/units). |

## Key renewal duration {#key-renewal-duration}

Key renewal duration defines the maximum time a key remains valid before requiring an update.
Physical keys and {{< glossary_term "app_key" >}}app keys{{< /glossary_term >}} use different update methods.

### How it works {#how-key-renewal-works}

- Physical keys must be presented at a compatible online updating point or encoder within the renewal duration period to maintain access
- Each time a key is updated, the renewal period resets
- Default setting is 7 days, but can be configured to 14 days
- This is a global setting that applies to the entire installation

#### Digital keys {#digital-keys}

App keys update as follows:

- {{< glossary_term "app_key" >}}App keys{{< /glossary_term >}} are updated automatically each time the app is opened with an internet connection.
They do not need to be presented at an updating point.

### Security implications {#key-renewal-security}

Key renewal duration is crucial for system security:

- Ensures users update their [access](/nebula-entry/user-guide/system-manager/users/user-access-rights) on a regular basis
- Limits the validity period of lost or stolen keys
- Helps access changes reach users when their keys update

{{% warning-panel %}}
Extending the key renewal duration to 14 days means that if a key is lost or stolen and not reported, it will continue to be valid for up to 14 days.
Note that this duration could extend to 30 days with [auto-extension in offline scenarios](#auto-extension).
{{% /warning-panel %}}

See the [settings section](/nebula-entry/user-guide/system-manager/settings/general#key-renewal-duration) for configuration details.
For more details, see the [section on expiration and validity](/nebula-entry/user-guide/system-manager/users/expiration-and-validity#key-renewal-duration).

## SVN-Flex {#svn-flex}

{{< glossary_term "svn_flex" >}}SVN-Flex{{< /glossary_term >}} is Salto's proprietary technology that allows compatible online access points with **Card key updater** enabled to act as updating points for physical keys.

### Core functionality {#svn-flex-functionality}

Based on Salto's BLUEnet wireless communications technology and [Salto's SVN core technology](/space/user-guide/operator/getting-started/system-overview#salto-virtual-network), SVN-Flex:

- Extends updating capabilities to compatible online access points with **Card key updater** enabled
- Updates keys with new access when users present them
- Synchronizes physical key data with the cloud in real-time
- Uploads stored events from physical keys to the cloud when used at an online updating access point
- Works with physical keys only (not digital keys)

### Card key updater {#card-key-updater}

The **Card key updater** option controls whether a specific access point performs SVN-Flex updates.
This setting has the following characteristics:

- Disabled by default when creating an access point in Nebula Entry web
- Availability depends on the associated device, so check the setting after device configuration
- Can be enabled or disabled per compatible access point
- Only applies to physical keys (not digital keys)
- It requires the access point to be online and connected to function

**When to disable:**

- High-traffic common areas where update delays affect user experience
- Access points where users always pass through a main entrance that is configured as a card key updater
- Areas that don't require frequent access updates

{{% warning-panel %}}
Disabling card key updater on multiple access points reduces system security.
While access points continue to report real-time activity and allow remote unlocking, they won't update access permissions written on physical keys, nor will they update the key renewal duration.
This means users may be denied access if their key has not been updated within the required renewal period, even if their access permissions have not changed.
{{% /warning-panel %}}

See the [card key updater section in the access points guide](/nebula-entry/user-guide/system-manager/access-points/create-access-points#card-key-updater) for configuration details.
See also the [section on card key updater](/nebula-entry/user-guide/system-manager/users/expiration-and-validity#card-key-updater).

## Online and offline access points {#online-and-offline}

Understanding access point connectivity states is essential for system management.

### Online access points {#online-access-points}

Online access points are connected to the cloud through BLUEnet wireless via a {{< glossary_term "gateway" >}}gateway{{< /glossary_term >}}.

Online access points can:

- Update physical keys in real-time via SVN-Flex when the device supports it and **Card key updater** is enabled
- Report [activity events](/nebula-entry/user-guide/system-manager/activity/events-list)
- Be [operated remotely](/nebula-entry/user-guide/system-manager/access-points/remote-operations) by users with the correct management role, subject to connectivity and hardware requirements
- Allow [app key remote operations](/nebula-entry/user-guide/system-manager/access-points/remote-operations#remote-operations-for-keyholders) for keyholders when both the access point and app key settings allow them
- Receive configuration changes instantly
- Synchronize with cloud

### Offline access points {#offline-access-points}

Access points can be offline for two reasons:

1. **Temporary connectivity loss:**
   - Network issues
   - Wi-Fi password changes
   - Cloud service interruptions

2. **Configured as offline (standalone):**
   - Intentionally set to operate without cloud connection
   - Cannot perform SVN-Flex updates
   - Stores events locally: these events can only be collected manually by an installer or maintainer during an on-site [configuration](/nebula/user-guide/installer/configure-devices/electronic-locks) or [reset](/nebula/user-guide/installer/maintain-devices/reset).
   Standalone locks will never connect to the cloud automatically.
   Users' phones send [offline events](/nebula-entry/user-guide/system-manager/activity/offline-events) to the cloud when they have an internet connection.

See the [section on connection types](/nebula-entry/user-guide/system-manager/access-points/overview#connection-type) for more information.

### Auto-extension for offline locks {#auto-extension}

If an online updating lock temporarily loses connectivity, Nebula Entry's auto-extension feature maintains functionality for physical keys:

#### How auto-extension works {#auto-extension-mechanics}

When a physical key is presented at an online updating lock that is temporarily offline, auto-extension applies if the key is expired or has less than **3 days** of validity remaining.
The new expiry is **3 days from presentation**, capped at **30 days** since the last successful online key update.

- For example, your key renewal duration could be set at either 7 or 14 days.
When auto-extension applies, it sets a new expiry rather than adding 3 days to the previous expiry.
- Keys will stop working after 30 days without any online update, no matter how often auto-extension applies.

{{% info-panel %}}
Auto-extension does **not** apply to locks that are configured as offline (standalone).
It only applies to online updating locks that have temporarily lost connectivity (marked as **Not connected** in the software).
{{% /info-panel %}}

The renewal period and 30-day limit reset after a successful online key update.
Restoring lock connectivity alone does not reset them.

![Auto-extension only applies to online locks marked as 'Not connected'](images/not-connected.png "Auto-extension only applies to online locks marked as 'Not connected'")
{.border}

#### Example scenario {#auto-extension-example}

**Example 1:**
Key renewal duration is set to 7 days.
The main entrance updating lock temporarily loses its internet connection.

- The user can continue to use their key at this lock.
If the key is expired or has less than 3 days remaining, its new expiry is 3 days from presentation, subject to the 30-day cap.
- If the lock stays offline, later presentations can set a new expiry under the same rule, but never beyond 30 days since the last successful online key update.
- Once the lock is back online and successfully updates the user's key, the renewal period and 30-day limit reset.

{{% info-panel %}}
Auto-extension is only applied if your physical key is already expired or has less than 3 days of validity remaining.
If more than 3 days remain, no extension is applied.
When auto-extension is applied, the key's new expiry is set to 3 days from the moment it is presented at the lock (it's not added to the previous expiry), unless this exceeds the 30-day maximum since the last online update.
That's to say, if the key does not receive a successful online update within 30 days, it will stop working until it is updated again.
{{% /info-panel %}}

**Example 2:**

- If you have 2 days left and present the key, the new expiry is 3 days from now (not 5).
- If you have 1 day left, the new expiry is 3 days from now (not 4).

**Exception:**

If the 30-day maximum is exceeded, the expiry is capped at the 30-day limit.

{{< mermaid src="auto-extension-timeline" >}}

**Alternative scenario - prolonged offline period:**

If connectivity issues persist beyond the 30-day limit:

- Keys will stop working at that lock
- Users must find an alternative online updating point (different entrance, encoder, etc.)
- Once the key is updated at an online point, its validity is renewed even if the original updating lock remains disconnected
- If no online updating point is accessible, users must contact their system manager for key re-encoding

{{% warning-panel %}}
After 30 days without an online update, physical keys will stop working regardless of any auto-extensions.
Users must present their keys at an online updating point to reset both the renewal duration and the 30-day absolute limit.
{{% /warning-panel %}}

{{% info-panel %}}
Changes to access stored on physical keys take effect after the keys receive an update at an online updating point.
The original disconnected lock does not need to reconnect for the key to receive that update elsewhere.
Monitor device connectivity to ensure updates and maintain security.
{{% /info-panel %}}

## Access propagation {#access-propagation}

How changes to user access and device configuration reach keys and locks:

| Key or device type | Update method | Timing |
| --- | --- | --- |
| App keys | Internet connection through the {{< glossary_term "nebula_keychain_app" >}}Nebula Keychain app{{< /glossary_term >}} | When the app connects and updates the key |
| Physical keys | SVN-Flex update | Next use at an online updating point (regardless of access granted) |
| Temporarily disconnected online locks | Cloud connection | Device configuration updates when the lock reconnects |
| Standalone locks | Nebula Commissioning app | Device configuration updates during an on-site update; standalone locks do not reconnect automatically |

Physical key updates and device configuration updates are separate.
Presenting a physical key at an online updating point updates the key's access data, not the standalone lock's configuration.

## Key update flow {#key-update-flow}

The following diagram illustrates the physical key update flow at a compatible SVN-Flex updating point for different connectivity scenarios:

{{< mermaid src="key-update-flowchart" >}}

{{% info-panel %}}
Visual and audio signaling patterns vary by device type.
The colors shown in this diagram are representative - actual signaling may differ depending on whether you're using escutcheons, cylinders, wall readers, or other device types.
Consult your device documentation for specific signaling patterns.
{{% /info-panel %}}

### Understanding the flow {#key-update-flow-explained}

**Initial check:**

- Lock determines if the key needs new data based on renewal duration and last update time

**No update needed:**

- Lock reads existing key data and grants or denies access
- Access granted: green signal
- Access denied: rejection signal (typically two red flashes)

**Update needed - online lock:**

- Lock requests updated key data from cloud
- SVN-Flex process signaling (yellow indicator)
- If data received, lock compares it with key's current data
- Only writes to key if data has changed
- Analyzes updated data and grants or denies access

**Update needed - offline lock (connectivity lost):**

- Lock checks if auto-extension is possible (within 30-day limit)
- Extends key validity according to the auto-extension rules (3 days, up to 30-day maximum)
- Updates key data locally
- Analyzes data and grants or denies access

**Key writing failures:**

- If the lock cannot write new data to the key, it shows red signal
- Lock still analyzes existing key data to determine if access should be granted

{{% info-panel %}}
When you change a user's access, the update timing depends on their key type and which access points they use.
App keys update through an internet connection, while physical keys update when presented at an online updating point, regardless of whether access is granted.
Not every online access point acts as an updating point.
{{% /info-panel %}}

## Troubleshooting common issues {#troubleshooting}

### Access denials without activity entries {#missing-logs}

If users report access denials but no events appear in activity, see the section on [access denied reasons](/nebula-entry/user-guide/system-manager/activity/access-denied) to troubleshoot possible causes.

