Network Repository Function (NRF)

Description


The Network Repository Function (NRF) keeps track of all the network functions (NFs). NFs will register at the NRF and then when a NF needs to talk to another NF, the NRF allows them to discover each other.
5G Overview

Interaction with other NFs

Consumes services from:
UDR
Provides services to:
UDM, AMF, SMF, UDR, AUSF, UPF


3GPP Specifications

5G Overview

Security importance

The NRF is important for security since it makes sure the correct NFs communicate and validates if the correct NFs are registered. It is responsible for managing access to network resources and prevent unauthorised access.

Besides managing the network functions, the NRF manages the OAuth (Open Authorisation) process. OAuth is a standard for authorisation that allows a network function to grant third-party access to their services without sharing the credentials. In the 5G core network, OAuth is a central part of the security measures, and the NRF acts as the central OAuth server, which manages the process of granting. When a network function wants to access a service from another network, it must first request authorisation from the NRF. The NRF will based on the security policies, issue an access token, which the network function can use to access the protected service on another resource. See OAuth 2.0 for more information about OAuth 2.0.