profile nf-client nf-type group nrf auth service type nrf oauth2

Configures the AMF ID (service type nrf oauth2 in the group nrf auth ) to enable an NRF endpoint, to which the AMF will send the AccessToken request to the NRF server, when the nf-client is configured.

Command Mode

Exec > Global Configuration (config ) > AMF Configuration (config-amf amf_name ) > NF Profile Name Configuration (config-nf-profile-nf nf_profile_name ) > NF Profile Type Configuration (config-nf-type-profile profile_type_name ) > group nrf auth > service type nrf oauth2

Syntax

group nrf auth nrf_group_name 
    service type nrf oauth2 
        endpoint-profile endpoint_profile_details 
        capacity capacity_number 
        uri-scheme http 
        endpoint-name endpoint_name 
        priority priority_number 
        primary ip-address ipv4 ipv4_address 
        primary ip-address port port_address 

group nrf auth nrf_group_name

Specify the NRF group name to authenticate. Must be a string.

service type nrf oauth2

Specify the service and the type of NRF, which must be authenticated to enable the OAuth2 profile configuration.

endpoint-profile endpoint_profile_details

Specify the endpoint profile details.

capacity capacity_number

Specify the capacity requirement in number.

uri-scheme http

Specify the URI scheme.

endpoint-name endpoint_name

Specify the endpoint name.

priority priority_number

Specify the priority request. Must be in numbers.

primary ip-address ipv4 ipv4_address

Specify the primary IPv4 address.

primary ip-address port port_address

Specify the primary port address.

Usage Guidelines

Use this command, when the service type nrf oauth2 in the group nrf auth feature is configured, when the AMF sends the AccessToken request to the NRF server, when the nf-client is configured.