update documentation of module and lookup

This commit is contained in:
durgesh-ninave-crest 2025-05-19 18:15:57 +05:30
commit 695fd4b355
2 changed files with 13 additions and 1 deletions

View file

@ -65,7 +65,7 @@ DOCUMENTATION = '''
description: description:
- JSON Object representing the contents of a service_account_file obtained from Google Cloud - 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 - defaults to OS env variable GCP_SERVICE_ACCOUNT_INFO if not present
type: jsonarg type: str
required: False required: False
access_token: access_token:
description: description:
@ -90,6 +90,7 @@ DOCUMENTATION = '''
description: description:
- Authenticaiton scopes for Google Secret Manager - Authenticaiton scopes for Google Secret Manager
type: list type: list
elements: str
default: ["https://www.googleapis.com/auth/cloud-platform"] default: ["https://www.googleapis.com/auth/cloud-platform"]
''' '''

View file

@ -45,6 +45,7 @@ options:
- application - application
- machineaccount - machineaccount
- serviceaccount - serviceaccount
- accesstoken
service_account_contents: service_account_contents:
description: description:
- The contents of a Service Account JSON file, either in a dictionary or as a - The contents of a Service Account JSON file, either in a dictionary or as a
@ -59,11 +60,21 @@ options:
- An optional service account email address if machineaccount is selected and - An optional service account email address if machineaccount is selected and
the user does not wish to use the default email. the user does not wish to use the default email.
type: str type: str
access_token:
description:
- An OAuth2 access token if credential type is accesstoken.
type: str
scopes: scopes:
description: description:
- Array of scopes to be used - Array of scopes to be used
type: list type: list
elements: str elements: str
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
name: name:
description: description:
- Name of the secret to be used - Name of the secret to be used