tag:help.appveyor.com,2012-11-13:/discussions/suggestions/893-solution-for-leaking-secure-variables-in-prsAppVeyor: Discussion 2017-04-03T20:57:06Ztag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T21:47:49Z2015-11-25T21:47:49ZSolution for leaking secure variables in PR's<div><p>Now you can securely put your Xamarin credentials on project
settings Xamarin tab and it will work for PRs too. Export to YML if
you need to.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:01:52Z2016-05-23T21:08:51ZSolution for leaking secure variables in PR's<div><p>Hi Feodor,</p>
<p>Thanks for response, but I don't fully understand it.</p>
<p>The secure variables aren't needed anymore? (Then <a href="http://www.appveyor.com/docs/lang/xamarin">http://www.appveyor.com/docs/lang/xamarin</a>
needs a small update :))</p></div>j.verdurmentag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:04:19Z2015-11-25T22:04:19ZSolution for leaking secure variables in PR's<div><p>Yes, secure variables are no longer needed (for Xamarin
credentials) and yes, docs require to be updated.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:11:13Z2016-05-23T21:08:51ZSolution for leaking secure variables in PR's<div><p>That's great!</p>
<p>I tested it in short, is it possible to also secure the email
address?</p>
<p>Thanks for the quick responses!</p></div>j.verdurmentag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:12:22Z2015-11-25T22:12:22ZSolution for leaking secure variables in PR's<div><p>Yes, in appveyor.yml.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:15:19Z2016-05-23T21:08:51ZSolution for leaking secure variables in PR's<div><p>Final question,</p>
<p>I think this won't work in forks? How do I fix the build script
that Xamarin builds are not run in the fork? (e.g. <code>if
define</code>)</p>
<p>Using CMD right now.</p></div>j.verdurmentag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:18:05Z2015-11-25T22:18:05ZSolution for leaking secure variables in PR's<div><p>Yes it won't work in forks if they are built under a different
AppVeyor account. Configure credentials on project UI then.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:21:39Z2016-05-23T21:08:51ZSolution for leaking secure variables in PR's<div><p>Yes, I did that, but I have still in my build script a command
to build with Xamarin.</p>
<p>That will crash in the fork I think, so I like to improve the
build script that it will skip the Xamarin build in forks..</p></div>j.verdurmentag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:29:49Z2015-11-25T22:29:49ZSolution for leaking secure variables in PR's<div><p>Ah, I see what you mean. You can define some environment
variable on main project's UI, say "main_repo" and then check it in
build script. It won't be forked as it's not in appveyor.yml.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/385552842015-11-25T22:42:19Z2016-05-23T21:08:51ZSolution for leaking secure variables in PR's<div><p>That's a great idea!</p>
<p>I created the environment variable 'build_with_xamarin' for that
:)</p>
<p>Thanks for your help! Great support!</p></div>j.verdurmentag:help.appveyor.com,2012-11-13:Comment/385552842015-11-26T01:02:13Z2015-11-26T01:02:13ZSolution for leaking secure variables in PR's<div><p>Great, I've also updated docs: <a href="http://www.appveyor.com/docs/lang/xamarin">http://www.appveyor.com/docs/lang/xamarin</a>
- thanks for the catch!</p></div>Feodor Fitsner