Skip to content

Commit

Permalink
Set no_log=True for aws_access_key_id parameter (#244)
Browse files Browse the repository at this point in the history
* Set no_log=True for aws_access_key_id

* Adding a changelog fragment
  • Loading branch information
mamercad authored May 3, 2022
1 parent ceb0c78 commit 76544f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/243-no-log-spaces-access-key-id.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
minor_changes:
- digital_ocean_spaces - set C(no_log=True) for C(aws_access_key_id) parameter (https://github.com/ansible-collections/community.digitalocean/issues/243).
- digital_ocean_spaces_info - set C(no_log=True) for C(aws_access_key_id) parameter (https://github.com/ansible-collections/community.digitalocean/issues/243).
1 change: 1 addition & 0 deletions plugins/modules/digital_ocean_spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def main():
aliases=["AWS_ACCESS_KEY_ID"],
fallback=(env_fallback, ["AWS_ACCESS_KEY_ID"]),
required=True,
no_log=True,
),
aws_secret_access_key=dict(
type="str",
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/digital_ocean_spaces_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def main():
aliases=["AWS_ACCESS_KEY_ID"],
fallback=(env_fallback, ["AWS_ACCESS_KEY_ID"]),
required=True,
no_log=True,
),
aws_secret_access_key=dict(
type="str",
Expand Down

0 comments on commit 76544f4

Please sign in to comment.