jake
jake

Reputation: 433

Aws passing credentials to ansible s3 module

In ansible,When I am passing the access key,secret key,token to my aws credentials,it passes the access key to my ansible module s3 ,but when I am passing secret key and token it shows me ""VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" like that.So how can I solve this.

In accesskey id there is no extra special symbols at all,we have only text alphabets,but in security ans session we have / and special symbols,may be due that it passes like "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"???

Thanks guys

Upvotes: 5

Views: 7553

Answers (1)

Konstantin Suvorov
Konstantin Suvorov

Reputation: 68289

aws_secret_key and security_token are marked as no_log arguments. See source.
It is sensitive data, so not printed to stdout and you see VALUE_SPECIFIED_IN_NO_LOG_PARAMETER.

If you absolutely need to get secret values printed to stdout, use ANSIBLE_DISPLAY_ARGS_TO_STDOUT=1 environment variable.

Upvotes: 5

Related Questions