From 0ee24ea48b9f30a3a5cd6ac64be9a8ca369776d4 Mon Sep 17 00:00:00 2001 From: Aaron Sachs <898627+asachs01@users.noreply.github.com> Date: Wed, 3 May 2023 13:47:42 -0400 Subject: [PATCH 1/2] Update modules.rst The reference to API keys in the Sensu docs is outdated and doesn't point to the correct path. This updates the path. --- docs/source/modules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/modules.rst b/docs/source/modules.rst index d8f6af46..e7a628db 100644 --- a/docs/source/modules.rst +++ b/docs/source/modules.rst @@ -32,7 +32,7 @@ the Sensu Go backend: value stored in the *SENSU_API_KEY*. .. _API key: - https://docs.sensu.io/sensu-go/latest/guides/use-apikey-feature/ + https://docs.sensu.io/sensu-go/latest/operations/control-access/use-apikeys/ .. note:: From 8d9e8ef3703824459e508462fd0d896f1e59067b Mon Sep 17 00:00:00 2001 From: Aaron Sachs <98627+asachs01@users.noreply.github.com> Date: Wed, 3 May 2023 13:52:30 -0400 Subject: [PATCH 2/2] Update auth.py Also updating docs fragment to refer to correct URL for api keys in the docs --- plugins/doc_fragments/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/doc_fragments/auth.py b/plugins/doc_fragments/auth.py index 4fe8aee0..4ca63a26 100644 --- a/plugins/doc_fragments/auth.py +++ b/plugins/doc_fragments/auth.py @@ -46,7 +46,7 @@ class ModuleDocFragment(object): - This replaces I(auth.user) and I(auth.password) parameters. - For more information about the API key, refer to the official Sensu documentation at - U(https://docs.sensu.io/sensu-go/latest/guides/use-apikey-feature/). + U(https://docs.sensu.io/sensu-go/latest/operations/control-access/use-apikeys/). type: str version_added: 1.3.0 verify: