# \#secret-variables

**URL:** https://travis-ci.community/tag/secret-variables/131.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [Branch specific environment variables are suddenly not available](https://travis-ci.community/t/branch-specific-environment-variables-are-suddenly-not-available/14575)

<div class="topic-metadata">

**Author:** [@nikhilo](https://travis-ci.community/u/nikhilo)\
**Replies:** 3\
**Last updated:** [March 21, 2025, 6:08am UTC](https://travis-ci.community/t/branch-specific-environment-variables-are-suddenly-not-available/14575 "2025-03-21T06:08:56Z")

</div>

We use a few environment variables for a Travis CI build and for one variable we have specific values for certain branches. Until yesterday everything was working as expected. Today suddenly a build started failing d…

---

## [Encrypt-file fails and returns with try to login with --org](https://travis-ci.community/t/encrypt-file-fails-and-returns-with-try-to-login-with-org/13231)

<div class="topic-metadata">

**Author:** [@zaro0508](https://travis-ci.community/u/zaro0508)\
**Replies:** 0\
**Last updated:** [August 22, 2022, 9:29pm UTC](https://travis-ci.community/t/encrypt-file-fails-and-returns-with-try-to-login-with-org/13231 "2022-08-22T21:29:08Z")

</div>

using the Travis CI CLI ver 1.11.1 on OSX 12.3.1 When attempting to run encrypt-file I get a message that says… “not logged in - try running travis login --org”. Obviously --org has been completely disabled so I can ev…

---

## [Why does my env variables setted on Travis are equal to None?](https://travis-ci.community/t/why-does-my-env-variables-setted-on-travis-are-equal-to-none/12708)

<div class="topic-metadata">

**Author:** [@Digoin](https://travis-ci.community/u/Digoin)\
**Replies:** 0\
**Last updated:** [February 20, 2022, 5:15pm UTC](https://travis-ci.community/t/why-does-my-env-variables-setted-on-travis-are-equal-to-none/12708 "2022-02-20T17:15:37Z")

</div>

I am trying to build a CI with Travis for my docker app. In my docker compose I import a file called “.env”. This file is gitignored so Travis cant use it. To fix the problem, I create the empty file in my .travis.yml fi…

---

## [Questions on security bulletin (repository secrets leak to PRs)](https://travis-ci.community/t/questions-on-security-bulletin-repository-secrets-leak-to-prs/12094)

<div class="topic-metadata">

**Author:** [@timmc-edx](https://travis-ci.community/u/timmc-edx)\
**Replies:** 10\
**Last updated:** [October 10, 2021, 10:30pm UTC](https://travis-ci.community/t/questions-on-security-bulletin-repository-secrets-leak-to-prs/12094 "2021-10-10T22:30:34Z")

</div>

This is regarding the recent security bulletin: Security Bulletin What was the total window of exposure? It’s good to know you started patching on Sept 3, but that doesn’t tell us when the vulnerability was fully made …

---

## [Allow external pull requests to use secret variables from the forked repo](https://travis-ci.community/t/allow-external-pull-requests-to-use-secret-variables-from-the-forked-repo/10654)

<div class="topic-metadata">

**Author:** [@native-api](https://travis-ci.community/u/native-api)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 3:42pm UTC](https://travis-ci.community/t/allow-external-pull-requests-to-use-secret-variables-from-the-forked-repo/10654 "2021-03-05T15:42:11Z")

</div>

In the light of https://travis-ci.community/t/docker-hub-you-have-reached-your-pull-rate-limit/10517. A build, even an external pull request one, may need to use some kind of credentials. A repo maintainer providing the…

---

## [\`travis encrypt\` returns a different secret value every time](https://travis-ci.community/t/travis-encrypt-returns-a-different-secret-value-every-time/10960)

<div class="topic-metadata">

**Author:** [@LucaDevCI](https://travis-ci.community/u/LucaDevCI)\
**Replies:** 4\
**Last updated:** [January 6, 2021, 5:26pm UTC](https://travis-ci.community/t/travis-encrypt-returns-a-different-secret-value-every-time/10960 "2021-01-06T17:26:13Z")

</div>

I wonder exactly how this encryption/decription works under the hood as running the same travis encrypt command with the same key returns different results each time.
