Method: feeds.generateSecret

Full name: projects.locations.instances.feeds.generateSecret

Generates a new secret for https push feeds which do not support jwt tokens. Secrets once generated should be copied and stored in safe place to be used while configuring https push feeds.Please note that you can always generate a new secret again for a feed using this API but it will invalidate the previously generated secret for the feed.

HTTP request

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

Path parameters

Parameters
name

string

Required. The name of the feed to for which to generate secret. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

Request body

The request body must be empty.

Response body

GenerateSecret response message.

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

JSON representation
{
  "secret": string
}
Fields
secret

string

The generated secret. Store the secret value at a safe place and use it while configuring your https push feed.

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.feeds.generateSecret

For more information, see the IAM documentation.