Now i want update bucket name,key,secret based on requested domain let says if request comes from abc.com then use bucket x if request comes from xyz.com then use bucket y and
also providerOptions like instagram key and secret etc.
Use a single Companion instance and move the uploads to another bucket after the upload is done. It would probably mean waiting on the client till the upload is done and then sending a request to your own backend which moves the upload. Unfortunately Companion doesn’t have webhooks either to let your backend know when it’s done.
You cannot update the options runtime, unless you patch Companion. However Companion does have event hooks that you can subscribe to to determine when an upload is done, and then potentially move the file to a different bucket, see Companion | Uppy
I understand for bucket i can move after upload, But i have different credential for each tenant for gdrive,facebook,etc, is there any way for update it.