no logging on service account contents ()

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-08-09 13:53:00 -07:00 committed by Alex Stephen
parent 212b3d4b9a
commit ef0d0c3ff4
2 changed files with 4 additions and 5 deletions
plugins
doc_fragment
module_utils

View file

@ -20,10 +20,8 @@ options:
choices: [ application, machineaccount, serviceaccount ] choices: [ application, machineaccount, serviceaccount ]
service_account_contents: service_account_contents:
description: description:
- A string representing the contents of a Service Account JSON file. - The contents of a Service Account JSON file, either in a dictionary or as a JSON string that represents it.
- This should not be passed in as a dictionary, but a string type: jsonarg
that has the exact contents of a service account json file (valid JSON)
type: str
service_account_file: service_account_file:
description: description:
- The path of a Service Account JSON file if serviceaccount is selected as type. - The path of a Service Account JSON file if serviceaccount is selected as type.

View file

@ -214,7 +214,8 @@ class GcpModule(AnsibleModule):
service_account_contents=dict( service_account_contents=dict(
required=False, required=False,
fallback=(env_fallback, ['GCP_SERVICE_ACCOUNT_CONTENTS']), fallback=(env_fallback, ['GCP_SERVICE_ACCOUNT_CONTENTS']),
type='str'), no_log=True,
type='jsonarg'),
scopes=dict( scopes=dict(
required=False, required=False,
fallback=(env_fallback, ['GCP_SCOPES']), fallback=(env_fallback, ['GCP_SCOPES']),