Method: projects.locations.instances.keyLists.addEntries

Adds entries to a KeyList and returns the updated KeyList.

Every Key and KeyRing must exist in the same instance. Entries already in the KeyList are left unchanged, so retrying is safe.

HTTP request

POST https://mpc.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*/keyLists/*}:addEntries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the KeyList to add entries to. Format: projects/{project}/locations/{location}/instances/{instance}/keyLists/{keyList} It takes the form projects/{project}/locations/{location}/instances/{instance}/keyLists/{keylist}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "entries": [
    {
      object (Entry)
    }
  ]
}
Fields
entries[]

object (Entry)

Required. The entries to add. Must contain at least one entry.

Response body

If successful, the response body contains an instance of KeyList.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.