cherrypick

This commit is contained in:
Alex Stephen 2019-08-06 13:35:20 -07:00 committed by Toshio Kuratomi
parent 2d14c0ce70
commit b0e2d90dcf
3 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
bugfixes:
- Add no_log to credentials field to avoid disclosures, also switch type to jsonarg to avoid having users responsible for transformations.
- Add no_log to credentials field to avoid disclosures

View file

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

View file

@ -21,7 +21,7 @@ options:
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a JSON string that represents it.
type: jsonarg
type: str
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.