hundreds-midnight-75494
01/22/2025, 8:36 PMMETAFLOW_SERVICE_HEADERS
in the config file
"METAFLOW_SERVICE_HEADERS": {
"origin": "<https://xyz.com>",
"referer": "<https://xyz.com>",
"CF-Access-Client-Id": "my-client-id",
"CF-Access-Client-Secret": "my-client-secret"
}
any idea on what I am missing? TIAancient-application-36103
01/22/2025, 8:37 PMhundreds-midnight-75494
01/22/2025, 8:39 PMhundreds-midnight-75494
01/22/2025, 8:45 PM"METAFLOW_SERVICE_HEADERS": "{\"origin\":\"<https://xyz.com>\",\"referer\":\"<https://xyz.com>\",\"CF-Access-Client-Id\":\"my-client-id\",\"CF-Access-Client-Secret\": \"my-client-secret\"}"
didn't work either... is that how you'd proceed @square-wire-39606?square-wire-39606
01/22/2025, 8:46 PMhundreds-midnight-75494
01/22/2025, 8:46 PMsquare-wire-39606
01/22/2025, 8:47 PMhundreds-midnight-75494
01/22/2025, 8:47 PMsquare-wire-39606
01/22/2025, 8:47 PMsquare-wire-39606
01/22/2025, 8:47 PMsquare-wire-39606
01/22/2025, 8:47 PMsquare-wire-39606
01/22/2025, 8:47 PMhundreds-midnight-75494
01/22/2025, 8:48 PMsquare-wire-39606
01/22/2025, 8:48 PMhundreds-midnight-75494
01/22/2025, 8:49 PMhundreds-midnight-75494
01/22/2025, 8:50 PMancient-application-36103
01/22/2025, 8:50 PMancient-application-36103
01/22/2025, 8:51 PMhundreds-midnight-75494
01/22/2025, 8:54 PMthankful-ambulance-42457
01/22/2025, 11:45 PMpython -c "from metaflow.metaflow_config import SERVICE_HEADERS; print(SERVICE_HEADERS)"
(avoid this if the sensitive headers shouldn't be printed though)
the value of METAFLOW_SERVICE_HEADERS
should be a json string, but the example you gave should work just fine.hundreds-midnight-75494
01/23/2025, 12:58 AMhundreds-midnight-75494
01/23/2025, 1:00 AMhundreds-midnight-75494
01/23/2025, 4:13 AMhundreds-midnight-75494
01/29/2025, 5:08 PMancient-application-36103
01/29/2025, 5:09 PMthankful-ambulance-42457
01/29/2025, 5:13 PMhundreds-midnight-75494
01/29/2025, 5:34 PM- name: METAFLOW-UI-IMAGE
newName: public.ecr.aws/outerbounds/metaflow_ui
newTag: 1.3.13
hundreds-midnight-75494
01/29/2025, 5:35 PMthankful-ambulance-42457
01/29/2025, 5:41 PMhundreds-midnight-75494
01/29/2025, 5:41 PM- name: METAFLOW_SERVICE_HEADERS
valueFrom:
secretKeyRef:
name: metaflow-cf-service-token
key: data
hundreds-midnight-75494
01/29/2025, 5:42 PMhundreds-midnight-75494
01/29/2025, 5:42 PMthankful-ambulance-42457
01/29/2025, 5:44 PMthankful-ambulance-42457
01/29/2025, 5:45 PMhundreds-midnight-75494
01/29/2025, 5:45 PMhundreds-midnight-75494
01/29/2025, 5:45 PM