open-toolchain / schematics-toolchain

Placeholder repo for IBM Cloud Schematics toolchain template
1 stars 18 forks source link

Variable to input github access token #26

Open sudarshanaks opened 2 years ago

sudarshanaks commented 2 years ago

Hello Team,

We need an option to pass github access token as secret variable to schematics pipeline. We tried with https://token>@<repo but it is exposing token in shematics pipeline.

pradeep-b commented 2 years ago

Have you tried using "Secrets Property" in the Pipeline?

sudarshanaks commented 2 years ago

I tried but it is still exposing when I checked with curl -H "Authorization: Bearer $iam_token" -H "Content-Type: application/json" -X GET https://otc-api.us-south.devops.cloud.ibm.com/api/v1/toolchains?resource_group_id=