|
TECHNICAL SPECIFICATION
5G;
5G System;
Authentication Server Services;
Stage 3
(3GPP TS 29.509 version 15.0.0 Release 15)
---------------------- Page: 1 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 1 ETSI TS 129 509 V15.0.0 (2018-09)
Reference
RTS/TSGC-0429509vf00
Keywords
5G
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
The present document can be downloaded from:
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
If you find errors in the present document, please send your comment to one of the following services:
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.
© ETSI 2018.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 2 ETSI TS 129 509 V15.0.0 (2018-09)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP).
The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or
GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables.
The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under
.
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
---------------------- Page: 3 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 3 ETSI TS 129 509 V15.0.0 (2018-09)
Contents
Intellectual Property Rights . 2
Foreword . 2
Modal verbs terminology . 2
Foreword . 5
1 Scope . 6
2 References . 6
3 Definitions and abbreviations . 6
3.1 Definitions . 6
3.2 Abbreviations . 7
4 Overview . 7
4.1 Introduction . 7
5 Services offered by the AUSF . 7
5.1 Introduction . 7
5.2 Nausf_UEAuthentication Service . 8
5.2.1 Service Description . 8
5.2.2 Service Operations . 8
5.2.2.1 Introduction . 8
5.2.2.2 Authenticate . 8
5.2.2.2.1 General . 8
5.2.2.2.2 5G AKA . 8
5.2.2.2.3 EAP-based authentication method . 9
5.2.2.2.3.1 General . 9
5.2.2.2.3.2 EAP method: EAP-AKA' . 9
6 API Definitions . 11
6.1 Nausf_UEAuthentication Service API . 11
6.1.1 API URI . 11
6.1.2 Usage of HTTP . 11
6.1.2.1 General . 11
6.1.2.2 HTTP standard headers . 11
6.1.2.2.1 General . 11
6.1.2.2.2 Content type . 11
6.1.2.3 HTTP custom headers . 11
6.1.2.3.1 General . 11
6.1.3 Resources . 11
6.1.3.1 Overview . 11
6.1.3.2 Resource: List of ue-authentications . 12
6.1.3.2.1 Description . 12
6.1.3.2.2 Resource Definition . 13
6.1.3.2.3 Resource Standard Methods . 13
6.1.3.2.3.1 POST. 13
6.1.3.2.4 Resource Custom Operations . 13
6.1.3.2.4.1 Overview . 13
6.1.3.3 Resource: 5g-aka-confirmation (Document) . 14
6.1.3.3.1 Description . 14
6.1.3.3.2 Resource Definition . 14
6.1.3.3.3 Resource Standard Methods . 14
6.1.3.3.3.1 PUT . 14
6.1.3.4 Resource: eap-session (Document) . 14
6.1.3.4.1 Description . 14
6.1.3.4.2 Resource Definition . 14
6.1.3.4.3 Resource Standard Methods . 15
6.1.3.4.3.1 POST. 15
6.1.4 Custom Operations without associated resources . 15
ETSI
---------------------- Page: 4 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 4 ETSI TS 129 509 V15.0.0 (2018-09)
6.1.4.1 Overview . 15
6.1.5 Notifications . 15
6.1.5.1 General . 15
6.1.6 Data Model . 15
6.1.6.1 General . 15
6.1.6.2 Structured data types . 16
6.1.6.2.1 Introduction . 16
6.1.6.2.2 Type: AuthenticationInfo . 16
6.1.6.2.3 Type: UEAuthenticationCtx . 17
6.1.6.2.4 Type: 5gAuthData . 17
6.1.6.2.5 Type: Av5gAka . 17
6.1.6.2.6 Type: ConfirmationData . 17
6.1.6.2.7 Type: EapSession . 18
6.1.6.2.8 Type: ConfirmationDataResponse. 18
6.1.6.3 Simple data types and enumerations . 18
6.1.6.3.1 Introduction . 18
6.1.6.3.2 Simple data types . 18
6.1.6.3.3 Enumeration: AuthType . 18
6.1.6.3.4 Enumeration:AuthResult . 19
6.1.6.3.5 Relation Types . 19
6.1.6.3.5.1 General . 19
6.1.6.3.5.2 The "5g-aka" Link relation . 19
6.1.6.3.5.3 The "eap-session" Link relation . 19
6.1.6.4 Binary data . 19
6.1.6.4.1 Introduction . 19
6.1.7 Error Handling . 19
6.1.7.1 General . 19
6.1.7.2 Protocol Errors . 19
6.1.7.3 Application Errors . 19
6.1.8 Security . 20
Annex A (normative): OpenAPI specification . 21
A.1 General . 21
A.2 Nausf_UEAuthentication API . 21
Annex B (informative): Change history . 25
History . 26
ETSI
---------------------- Page: 5 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 5 ETSI TS 129 509 V15.0.0 (2018-09)
Foreword
This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
The contents of the present document are subject to continuing work within the TSG and may change following formal
TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an
identifying change of release date and an increase in version number as follows:
Version x.y.z
where:
x the first digit:
1 presented to TSG for information;
2 presented to TSG for approval;
3 or greater indicates TSG approved document under change control.
y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections,
updates, etc.
z the third digit is incremented when editorial only changes have been incorporated in the document.
ETSI
---------------------- Page: 6 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 6 ETSI TS 129 509 V15.0.0 (2018-09)
1 Scope
The present document specifies the stage 3 protocol and data model for the Nausf Service Based Interface. It provides
stage 3 protocol definitions and message flows, and specifies the API for each service offered by the AUSF.
The 5G System stage 2 architecture and procedures are specified in 3GPP TS 23.501 [2] and 3GPP TS 23.502 [3].
The Technical Realization of the Service Based Architecture and the Principles and Guidelines for Services Definition
are specified in 3GPP TS 29.500 [4] and 3GPP TS 29.501 [5].
2 References
The following documents contain provisions which, through reference in this text, constitute provisions of the present
document.
- References are either specific (identified by date of publication, edition number, version number, etc.) or
non-specific.
- For a specific reference, subsequent revisions do not apply.
- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including
a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same
Release as the present document.
[1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
[2] 3GPP TS 23.501: "System Architecture for the 5G System; Stage 2".
[3] 3GPP TS 23.502: "Procedures for the 5G System; Stage 2".
[4] 3GPP TS 29.500: "5G System; Technical Realization of Service Based Architecture; Stage 3".
[5] 3GPP TS 29.501: "5G System; Principles and Guidelines for Services Definition; Stage 3".
[6] IETF RFC 7540: "Hypertext Transfer Protocol Version 2 (HTTP/2)".
[7] IETF RFC 8259: "The JavaScript Object Notation (JSON) Data Interchange Format".
[8] 3GPP TS 33.501: "Security Architecture and Procedures for 5G System".
rd
[9] IETF RFC 5448: "Improved Extensible Authentication Protocol Method for 3 Generation
Authentication and Key Agreement (EAP-AKA')".
[10] 3GPP TS 29.571: "5G System; Common Data Types for Service Based Interfaces; Stage 3".
[11] IETF RFC 7807: "Problem Details for HTTP APIs".
[12] 3GPP TS 29.503: "5G System; Unified Data Management Services; Stage 3".
[13] IETF RFC 6749: "The OAuth 2.0 Authorization Framework".
[14] 3GPP TS 29.510: "Network Function Repository Services; Stage 3".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in 3GPP TR 21.905 [1] and the following
apply. A term defined in the present document takes precedence over the definition of the same term, if any, in
3GPP TR 21.905 [1].
ETSI
---------------------- Page: 7 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 7 ETSI TS 129 509 V15.0.0 (2018-09)
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [1] and the following apply. An
abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in
3GPP TR 21.905 [1].
AMF Access and Mobility Management Function
API Application Programming Interface
AUSF Authentication Server Function
NF Network Function
SEAF SEcurity Anchor Function
URI Uniform Resource Identifier
4 Overview
4.1 Introduction
The Network Function (NF) Authentication Server Function (AUSF) is the network entity in the 5G Core Network
(5GC) supporting the following functionalities:
- Authenticate the UE for the requester NF,
- Provide keying material to the requester NF.
Figure 4-1 shows the reference architecture for the AUSF:
UD M AU SF
Nau sf
AMF/ AM F/
SEAF SEAF
HPLMN VPLMN
Figure 4-1: AUSF in 5G System architecture
This figure represents the AUSF architecture in the Service-based Architecture model. In the reference point model, the
interface between the AMF and the AUSF is named N12. In this release, the SEAF function is collocated with the
AMF. The UDM is also represented since the AUSF may contact it to render the service.
5 Services offered by the AUSF
5.1 Introduction
The AUSF offers to NF Service Consumers (e.g. AMF) the following services:
- Nausf_UEAuthentication
ETSI
---------------------- Page: 8 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 8 ETSI TS 129 509 V15.0.0 (2018-09)
5.2 Nausf_UEAuthentication Service
5.2.1 Service Description
The AUSF is acting as NF Service Producer. It provides UE authentication service to the requester NF. The NF Service
Consumer is the AMF.
For this service, the following service operations are defined:
- Authenticate
This service permits to authenticate the UE and to provide one or more master keys which are used by the AMF to
derived subsequent keys.
5.2.2 Service Operations
5.2.2.1 Introduction
The service operation defined for the Nausf_UEAuthentication is as follows:
- Authenticate: It allows the AMF to authenticate the UE.
5.2.2.2 Authenticate
5.2.2.2.1 General
The service operation "Authenticate" permits the requester NF to initiate the Authentication of the UE by providing the
following information to the AUSF:
- UE id (e.g. SUPI)
- Serving Network Name
Depending on the information provided by the AMF, the AUSF enters in one of the following procedures:
- 5G-AKA
- EAP-based authentication'
For those two different procedures a new resource is generated by the AUSF. The content of the resource will depend
on the procedure and will be returned to the AMF.
5.2.2.2.2 5G AKA
In this procedure, the NF Service Consumer (AMF) requests the authentication of the UE by providing UE related
information and the serving network name and the 5G AKA is selected. The NF Service Consumer (AMF) shall then
return to the AUSF the result received from the UE:
ETSI
---------------------- Page: 9 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 9 ETSI TS 129 509 V15.0.0 (2018-09)
Figure 5.2.2.2.2-1: 5G AKA
1. The NF Service Consumer (AMF) shall send a POST request to the AUSF. The payload of the body shall
contain at least the UE Id and the Serving Network Name.
2a. On success, "201 Created" shall be returned. The payload body shall contain the representation of the resource
created and the "Location" header shall contain the URI of the created resource (e.g.
.../v1/ue_authentications/{authCtxId}). The AUSF generates a sub-resource "5g-aka-confirmation". The AUSF
shall provide an hypermedia link towards this sub-resource in the payload to indicate to the AMF where it shall
send a PUT for the confirmation.
2b. On failure, one of the HTTP status code listed in table 6.1.7.3-1 shall be returned with the message body
containing a ProblemDetails structure with the "cause" attribute set to one of the application error listed in Table
6.1.7.3-1. If the serving network is not authorized, the AUSF shall use the
SERVING_NETWORK_NOT_AUTHORIZED "cause".
3. Based on the relation type, the NF Service Consumer (AMF) deduces that it shall send a PUT containing the
"RES*" provided by the UE to the URI provided by the AUSF or derived by itself.
4a. On success, "200 OK" shall be returned.
4b. On failure, one of the HTTP status code listed in table 6.1.7.3-1 shall be returned with the message body
containing a ProblemDetails structure with the "cause" attribute set to one of the application error listed in Table
6.1.7.3-1.
5.2.2.2.3 EAP-based authentication method
5.2.2.2.3.1 General
In this procedure, the NF Service Consumer requests the authentication of the UE by providing UE related information
and the serving network and the EAP-based authentication is selected. EAP messages are exchanged between a UE
acting as EAP peer, an NF Service Consumer (AMF) acting as a pass-through authenticator and the AUSF acting as the
EAP peer.
5.2.2.2.3.2 EAP method: EAP-AKA'
EAP-AKA' is the EAP method used in this procedure
ETSI
---------------------- Page: 10 ----------------------
3GPP TS 29.509 version 15.0.0 Release 15 10 ETSI TS 129 509 V15.0.0 (2018-09)
NF Service
AUSF
Consumer
1. POST ./ue-authentications (AuthenticationInfo)
2. 201 Created (UEAuthCtx)
2b. 4xx/5xx (ProblemDetails)
3. POST …/ue-authentications/{authCtxId}/eap-session (EapSession)
4a. 200 OK (EapSession)
4b. 4xx/5xx (ProblemDetails)
5. POST …/ue-authentications/{authCtxId}/eap-session (EapSession)
6a. 200 OK (EapSession)
6b. 4xx/5xx (ProblemDetails)
Figure 5.2.2.2.3-1: EAP-based authentication with EAP-AKA' method
1. The NF Service Consumer (AMF) shall send a POST request to the AUSF. The payload of the body shall
contain at least the UE Id, Serving Network Name.
2a. On success, "201 Created" shall be returned. The payload body shall contain the representation of the resource
generated and the "Location" header shall contain the URI of the generated resource (e.g.
.../v1/ue_authentications/{authCtxId}/eap-session). The AUSF generates a sub-resource "eap-session". The
AUSF shall provide an hypermedia link towards this sub-resource in the payload to indicate to the AMF where it
shall send a POST containing the EAP packet response. The body payload shall also contain the EAP packet
EAP-Request/AKA'-Challenge.
2b. On failure, one of the HTTP status code listed in table 6.1.7.3-1 shall be returned with the message body
containing a ProblemDetails structure with the "cause" attribute set to one of the application error listed in Table
6.1.7.3-1. In particular, if the serving network is not authorized, the AUSF shall use the "Cause"
SERVING_NETWORK_NOT_AUTHORIZED.
3. Based on the relation type, the NF Service Consumer (AMF) shall send a POST request including the EAP-
Response/AKA' Challenge received from the UE. The POST request is sent to the URI provided by the AUSF or
derived by the NF Service Consumer (AMF).
4a. On success, and if the AUSF and the UE have indicated the use of protected successful result indications as in
IETF RFC 5448 [9], the AUSF shall reply with
...