As Isuru mentioned we can fetch parameters from the registry. In file connector also we have VFS sending facility. We can give values from Postman. But I am not sure we can use vault-lookup things in that.
Thanks. Best Regards, Yashothara.S Software Engineer WSO2 On Fri, Jun 10, 2016 at 9:51 AM, Isuru Udana <isu...@wso2.com> wrote: > Hi Manu, > > Values for these parameters are set at the deploy time and can only have > static values. > Unfortunately there is no way achieve this using vfs proxy. > > In inbound endpoints, we have provided a way to fetch parameters from the > registry. > However still we cannot use expressions like vault-lookup for inbound > parameters. > > Thanks. > > > On Fri, Jun 10, 2016 at 2:48 AM, Manuranga Perera <m...@wso2.com> wrote: > >> I have a FTP secured by a password/username. I want to secure the >> password.I can use vfs encrypt utils [1], but it is trivially decodable. >> >> Is there a way to use a secure vault for this? >> >> I tried following >> >> <proxy xmlns="http://ws.apache.org/ns/synapse" name="vfsy" >> transports="https http vfs" startOnLoad="true" trace="disable"> >> <target> >> <inSequence> >> <log/> >> </inSequence> >> </target> >> <parameter name="transport.vfs.FileURI"> >> *{wso2:vault-lookup('vfsUrl')}*</parameter> >> <parameter name="transport.vfs.ContentType">text/plain</parameter> >> ... >> </proxy> >> >> but unfortunately that didn't work >> >> [2016-06-09] ERROR - VFSTransportListener Repeatedly failed to resolve >> the file URI: {wso2:vault-lookup('vfsUrl')} >> org.apache.commons.vfs2.FileSystemException: Could not find file with URI >> "{wso2:vault-lookup('vfsUrl')}" because it is a relative path, and no base >> URI was provided. >> >> >> [1] >> http://wso2.com/library/articles/2012/01/wso2-esb-example-file-exchanging-hub-part-1/ >> >> -- >> With regards, >> *Manu*ranga Perera. >> >> phone : 071 7 70 20 50 >> mail : m...@wso2.com >> > > > > -- > *Isuru Udana* > Technical Lead > WSO2 Inc.; http://wso2.com > email: isu...@wso2.com cell: +94 77 3791887 > blog: http://mytecheye.blogspot.com/ > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev