Kaspersky Industrial CyberSecurity for Networks Public API auth (v4)

Download OpenAPI specification:Download

Public API for external connector authentication

Token

A recipient system can open a connection with Kaspersky Industrial CyberSecurity for Networks via External API only by using the HTTPS protocol and access tokens. Access tokens can be obtained only by using certificates that were issued in the current installation of Kaspersky Industrial CyberSecurity for Networks for connectors. The procedure for creating and configuring connectors is described in the main user documentation for Kaspersky Industrial CyberSecurity for Networks.

Provides the capability for a recipient system to receive an access token via External API.

path Parameters
version
required
string
query Parameters
grant_type
string

Type of token request. Indicated in the query string, not in the query body. It can take one of the following values:

  • certificate - for initial receipt of a token based on a connector certificate. In this case, a valid connector certificate must be used to establish an SSL connection.
  • refresh_token - to update a token. In this case, a valid refresh token must be indicated in the refresh_token parameter.
refresh_token
string

Refresh token value. Indicated in the query string, not in the query body. It is defined only if grant_type=refresh_token.

Responses

Response samples

Content type
application/json
{
  • "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIGFjY2VzcyIsImlhdCI6MTUxNjIzOTAyMn0.Z*****",
  • "token_type": "bearer",
  • "expires_in": 120,
  • "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.S*****"
}
© 2021 AO Kaspersky Lab