amf-services locality oauth2-enabled

Configures the AMF ID (oauth2-enabled ) to enable the client authorization support to NRF.

Command Mode

Exec > Global Configuration (config ) > AMF Services Configuration (amf-services amf_services_name ) > AMF Name (amf-name amf_name ) > Locality (locality locality_name ) > oauth2-enabled

Syntax


    amf-name amf_name 
    locality locality_name 
    oauth2-enabled 
    access-token-jws-algo { HS256 | ES256 | RS256 } 
    access-token-jws-key { shared_secret_key | public_key } 

oauth2-enabled

Enable the OAuth2 client authorization to register the AMF with NRF. The default value is false.

access-token-jws-algo { HS256 | ES256 | RS256 }

Specify the type of the access token for the JWS Algorithm authorization.

access-token-jws-key { shared_secret_key | public_key }

Specify the type of the access token for the JWS Key authorization.

Usage Guidelines

Use this command, when the oauth2-enabled feature is configured, the options access-token-jws-algo and access-token-jws-key are mandatory.