Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 335
jake Avatar asked Oct 05 '16 19:10

jake


1 Answers

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.

like image 56
Konstantin Suvorov Avatar answered Sep 28 '22 11:09

Konstantin Suvorov