Feature Configuration
To configure this feature, use the following configuration:
Note | This configuration must be enabled in amf-services to register the AMF with NRF for the enablement of OAuth2 client authorization. |
amf-services service_name
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 }
exit
NOTES:
-
amf-services service_name —Specify the name of the AMF service.
-
amf-name amf_name —Specify the name of AMF.
-
locality locality_name —Specify a name for the locality.
-
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.
Note | When the OAuth2-enabled feature is configured, the options access-token-jws-algo and access-token-jws-key are mandatory. |