API security HTTP scheme commands

API security HTTP scheme mode provides the commands to create or modify a Bearer authentication security scheme as defined in OpenAPI 3.0.

To enter API security HTTP scheme mode, use the global api-sec-http-scheme command. To delete a Bearer authentication security scheme, use the no api-sec-http-scheme command.

While in this mode, use the commands in the following table to define the Bearer authentication security scheme.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. API security HTTP scheme commands
Command Purpose
admin-state This command sets the administrative state for the configuration.
bearer-format This command indicates how the bearer token is formatted.
bearer-validation-endpoint This command specifies the URL of the validation endpoint.
bearer-validation-method This command specifies the method to validate the bearer token.
bearer-validation-tls-profile This command specifies the TLS client profile to secure the connection to the validation endpoint.
http-scheme This command specifies the HTTP authentication security scheme.
summary This command specifies the brief, descriptive summary for the object instance.