Closed ShilpaGopal closed 4 months ago
Kubeflow Pipelines does not have any support for passing credentials.
Credentials can be passed using Kubernetes Secrets. The following snippets show how to add a secret to a Kubeflow Container Op.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is there any update on how to pass kubeflow login credentials using kfp client or a rest api to trigger the pipelines
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue. The provided solution is the only and safest way to pass sensitive data.
/close
@rimolive: Closing this issue.
Question:
Is there a way to fetch login username and password inside KFP components? E.g: Pod name can be fetched as {{pod.name}} (Available variable reference https://github.com/argoproj/argo/blob/master/docs/variables.md )
TLDR;
Kubeflow is deployed on an on-prem cluster with Keycloak integration. We have a datastore which is integrated with Keycloak as well. KF pipeline components need to fetch data from datastore with Kubeflow login username and password. Is there a variable which is exposed to container using which Kubeflow login username/email and password can be read?
KFP SDK version:1.1.0