OK thank you for this example.
In my job definition I have something like this :
- test
    namespace...
    .
    .
    .
    definitions:
         - repository: https://<link to private git repo>
           from: git
           .......
How do I use the token in this case ?



On Tue, 20 Nov 2018 at 12:31, Milosz Wasilewski <milosz.wasilewski@linaro.org> wrote:
On Tue, 20 Nov 2018 at 11:03, Axel Lebourhis <axel.lebourhis@linaro.org> wrote:
>
> Ok good to know. Do you have a job definition example including secrets ?

these are top level entries. Example below:

visibility:
  group:
    - my_secret_group

secrets:
  TOKEN: 123456789abcd

milosz