Method: instances.generateCollectionAgentAuth

Full name: projects.locations.instances.generateCollectionAgentAuth

GenerateCollectionAgentAuth generates an auth json file for the collection agent.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{name}:generateCollectionAgentAuth

Path parameters

Parameters
name

string

Required. The name of the chronicle instance to generate a collection agent auth json file for. Format: projects/{project_id}/locations/{region}/instances/{instance}

Request body

The request body must be empty.

Response body

Response with a generated collection agent auth json file.

If successful, the response body contains data with the following structure:

JSON representation
{
  "auth_json": string
}
Fields
auth_json

string

The auth json file.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.instances.generateCollectionAgentAuth

For more information, see the IAM documentation.