Newly created secrets are not available in the current workflow

hi, I am trying to create some secrets and access them in the next job, something like this:

jobs:
  job1:
    name: add secret
    runs-on: ubuntu-latest
    steps:
      - uses: gliech/create-github-secret-action@v1.4.3
        with:
          name: TEST_ID
          value: 'ce5a9513-f5df-bbda-e75b-3a153b06e355'
          pa_token: ${{ secrets.CI_TOKEN }}

  job2:
    name: test secret
    runs-on: ubuntu-latest
    needs: [job1]
    steps:
      - run: |
          echo $TESTID
        env:
          TESTID: ${{ secrets.TEST_ID }}

But it looks like secret context is created at workflow level therefore it always fails to capture the secret at first run

To give it some more context, I know that job.outputs can be used to pass values between jobs, but it doesn’t work when there is a secret in the output, what I am trying to do is to pass some temporary credentials between jobs