hello, How I can put a credentials argument as an ...
# questions
r
hello, How I can put a credentials argument as an input in the pipelines function ?
👀 1
r
Hi @Rachid Cherqaoui, What do you mean by pipelines function ?
r
in input arguments in the function pipeline like this :
👀 1
r
Inputs to a node should be datasets or parameters. I don't think we support credentials. The way to deal with credentials is - https://docs.kedro.org/en/0.19.14/configuration/credentials.html#credentials
Could you let us know why do you want to pass credentials to the node as an input ? Ideally DataCatalog will handle credentials for you to resolve dataset permissions. Node inputs can be the dataset entries.
r
THA
I need to send an file.txt files created earlier to a remote server over SFTP, u know away to do that ?
r
This should be your custom logic to send a file over SFTP to remote server. You can have this in a Kedro node and the node can have inputs as the dataset to be sent. The dataset details should be in catalog.yml. If it needs permissions, put the details in credentials.yml. Thank you