From 78b36fe3b6097ca34eb1e9cd7c22e33330b54eb0 Mon Sep 17 00:00:00 2001 From: Chris Hawk <hawk@google.com> Date: Mon, 4 Nov 2024 10:28:23 -0800 Subject: [PATCH] Fix lint errors in the gcp_secret_manager lookup plugin --- plugins/lookup/gcp_secret_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/lookup/gcp_secret_manager.py b/plugins/lookup/gcp_secret_manager.py index b3eeaf9..14824a9 100644 --- a/plugins/lookup/gcp_secret_manager.py +++ b/plugins/lookup/gcp_secret_manager.py @@ -5,9 +5,8 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - author: - - Dave Costakos <dcostako@redhat.com> name: gcp_secret_manager + author: Dave Costakos (@davecostakos) <dcostako@redhat.com> short_description: Get Secrets from Google Cloud as a Lookup plugin description: - retrieve secret keys in Secret Manager for use in playbooks @@ -59,7 +58,7 @@ DOCUMENTATION = ''' description: - JSON Object representing the contents of a service_account_file obtained from Google Cloud - defaults to OS env variable GCP_SERVICE_ACCOUNT_INFO if not present - type: jsonarg + type: str required: False access_token: description: @@ -84,6 +83,7 @@ DOCUMENTATION = ''' description: - Authenticaiton scopes for Google Secret Manager type: list + elements: str default: ["https://www.googleapis.com/auth/cloud-platform"] '''