This feels like a very simple question but I haven’t been able to confirm the answer. I’m trying to run a Python script with some encrypted arguments but I’m not sure if I’m passing them in correctly. The build result suggests the encrypted values are not being referenced correctly.
- I have encrypted the values in .travis.yml using (for e.g.) *travis encrypt --pro encryptedKey1=“encryptedValue1”. I have 2 secret values I want to use so I add them manually to the file with separate names (i.e. I don’t use --add).
- In .travis.yml I use the values like this:
- python fpldraft.py -unencryptedKey1 unencryptedValue1 -unencryptedKey2 “unencryptedValue2” -encryptedKey1=$encryptedValue1 -encryptedKey2=$encryptedValue2
The result is an application error suggesting I’m not providing the encrypted values correctly.
Build results are available here:
Any help appreciated. Thanks!