如何在 AWS cloudformation 模板中获取 Tableau 服务器管理员密码(Windows 实例)
How to get Tableau server Admin password (Windows Instance) in AWS cloudformation template
我需要在堆栈创建期间包括 Tableau 服务器管理员密码(Windows 实例)。但是,我看到检索 windows 管理员密码的步骤是 "Select instance --> connect --> provide pem key --> decrypt password." 但是我如何在 CloudFormation 模板中创建堆栈期间执行此操作?请提供一些指导。
我在参数下尝试了以下代码来找回密码,但它不起作用。
"TableauContentAdminPassword" : {
"Description" : "The password for the initial Admin user for Tableau server",
"Type" : "String",
"MinLength" : "1",
"NoEcho" : "true"
"Default" : {"aws ec2 get-password-data --instance-id { "Ref" : "TableauServer" } --priv-launch-key { "Ref" : "KeyName" } }
},
Tableau Content 管理员密码是 Tableau Server 本身的初始(管理员)用户的密码,您可以为此选择任何您想要的密码。安装服务器后,您将使用 username/password 组合登录到 Web 界面。
然而,您通过实例->连接->解密密码获得的密码是Windows管理员帐户的Windows密码;当 RDPing 到实例时,您会使用它。 username/password 与 Tableau Content 管理员密码无关,由 Amazon 在启动 EC2 实例时选择。
感谢 John Case 给我这个答案。
我需要在堆栈创建期间包括 Tableau 服务器管理员密码(Windows 实例)。但是,我看到检索 windows 管理员密码的步骤是 "Select instance --> connect --> provide pem key --> decrypt password." 但是我如何在 CloudFormation 模板中创建堆栈期间执行此操作?请提供一些指导。
我在参数下尝试了以下代码来找回密码,但它不起作用。
"TableauContentAdminPassword" : {
"Description" : "The password for the initial Admin user for Tableau server",
"Type" : "String",
"MinLength" : "1",
"NoEcho" : "true"
"Default" : {"aws ec2 get-password-data --instance-id { "Ref" : "TableauServer" } --priv-launch-key { "Ref" : "KeyName" } }
},
Tableau Content 管理员密码是 Tableau Server 本身的初始(管理员)用户的密码,您可以为此选择任何您想要的密码。安装服务器后,您将使用 username/password 组合登录到 Web 界面。
然而,您通过实例->连接->解密密码获得的密码是Windows管理员帐户的Windows密码;当 RDPing 到实例时,您会使用它。 username/password 与 Tableau Content 管理员密码无关,由 Amazon 在启动 EC2 实例时选择。
感谢 John Case 给我这个答案。