简体   繁体   English

Aws将凭证传递给ansible s3模块

[英]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. 在ansible中,当我将访问密钥,密钥,令牌传递给我的aws凭证时,它将访问密钥传递给我的ansible模块s3,但是当我传递密钥和令牌时,它会向我显示""VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" 。那么我该如何解决这个问题呢。

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" ??? 在accesskey id中根本没有额外的特殊符号,我们只有文本字母,但在安全性和会话中,我们有/和特殊符号,可能是因为它传递的像"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"

Thanks guys 多谢你们

aws_secret_key and security_token are marked as no_log arguments. aws_secret_keysecurity_token标记为no_log参数。 See source .
It is sensitive data, so not printed to stdout and you see VALUE_SPECIFIED_IN_NO_LOG_PARAMETER . 它是敏感数据,因此不会打印到stdout,您会看到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. 如果您绝对需要将秘密值打印到stdout,请使用ANSIBLE_DISPLAY_ARGS_TO_STDOUT=1环境变量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM