https://flyte.org logo
Title
x

Xuan Hu

01/28/2023, 9:18 AM
Hi Community, I wonder how does the env
FLYTE_PLATFORM_AUTH
work in flytekit as described in https://docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#continuous-integration-ci. I tried to investigate into the source code of flytekit but failed. To be more speific, the source code of
flytekit/configuration/__init__.py
and
flytekit/configuration/internal.py
.
k

Ketan (kumare3)

01/28/2023, 4:40 PM
You mean client secret and id
x

Xuan Hu

01/29/2023, 3:39 AM
Hi @Ketan (kumare3), thanks for the reply. I am not mean the client id/secret, at the last line configuration for CI, there is a
# Set this to force Flytekit to use authentication, even if not required by Admin. This is useful as you're
# rolling out the requirement.
export FLYTE_PLATFORM_AUTH=True
I wonder how does this work.
k

Ketan (kumare3)

01/29/2023, 3:53 AM
Cc @Haytham Abuelfutuh / @Prafulla Mahindrakar do you know this off the top
t

Tyler Su

02/03/2023, 6:40 PM
@Haytham Abuelfutuh @Prafulla Mahindrakar could you take a look this please?
e

Eduardo Apolinario (eapolinario)

02/07/2023, 4:29 PM
@Xuan Hu, those instructions are not correct. We should remove that line (and its comment) from the docs. Contributions are welcome 😄