From 296340e13f6e8febbac90f2b7f774a0d30362256 Mon Sep 17 00:00:00 2001 From: Hans Hasselberg Date: Tue, 15 Sep 2020 21:35:02 +0200 Subject: [PATCH] Update API docs for GET /operator/keyring (#8691) The response includes a new field: PrimaryKeys that lists the installed primary keys. --- website/pages/api-docs/operator/keyring.mdx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/website/pages/api-docs/operator/keyring.mdx b/website/pages/api-docs/operator/keyring.mdx index c9bc8264d..88f00152d 100644 --- a/website/pages/api-docs/operator/keyring.mdx +++ b/website/pages/api-docs/operator/keyring.mdx @@ -66,7 +66,10 @@ $ curl \ "ZWTL+bgjHyQPhJRKcFe3ccirc2SFHmc/Nw67l8NQfdk=": 1, "WbL6oaTPom+7RG7Q/INbJWKy09OLar/Hf2SuOAdoQE4=": 1 }, - "NumNodes": 1 + "PrimaryKeys": { + "pUqJrVyVRj5jsiYEkM/tFQYfWyJIv4s3XkvDwy7Cu5s=": 1, + }, + "NumNodes": 3 }, { "WAN": false, @@ -77,7 +80,10 @@ $ curl \ "ZWTL+bgjHyQPhJRKcFe3ccirc2SFHmc/Nw67l8NQfdk=": 1, "WbL6oaTPom+7RG7Q/INbJWKy09OLar/Hf2SuOAdoQE4=": 1 }, - "NumNodes": 1 + "PrimaryKeys": { + "pUqJrVyVRj5jsiYEkM/tFQYfWyJIv4s3XkvDwy7Cu5s=": 1, + }, + "NumNodes": 3 } ] ``` @@ -92,6 +98,9 @@ $ curl \ - `Keys` is a map of each gossip key to the number of nodes it's currently installed on. +- `PrimaryKeys` is a map of each primary gossip key to the number of nodes it's currently + installed on. + - `NumNodes` is the total number of nodes in the datacenter. ## Add New Gossip Encryption Key