# How can I set secrets.yml for test environment for CircleCI?

**URL:** <https://discuss.circleci.com/t/how-can-i-set-secrets-yml-for-test-environment-for-circleci/2304>\
**Category:** Build Environment\
**Tags:** rails\
**Created:** [February 24, 2016, 11:30am UTC](https://discuss.circleci.com/t/how-can-i-set-secrets-yml-for-test-environment-for-circleci/2304 "2016-02-24T11:30:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [February 25, 2016, 2:21am UTC](https://discuss.circleci.com/t/how-can-i-set-secrets-yml-for-test-environment-for-circleci/2304/3 "2016-02-25T02:21:44Z")

</div>

Another option could be using [CircleCI Environment Variables](https://circleci.com/docs/environment-variables#setting-environment-variables-for-all-commands-without-adding-them-to-git). This would allow you to load in secret info without it being in your repository or file system at all.

Not to mention that the AWS CLI will automatically [read those variables from the environment](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-environment) if they are present.

---

_[View the full topic](https://discuss.circleci.com/t/how-can-i-set-secrets-yml-for-test-environment-for-circleci/2304)._
