Write to keyvault in another subscription

Hi

How would I go on, writing key/value to a keyvault in another subscription? I have a template that creates a servicebus in my current subscription, but I’d like the connect_string to be written to a keyvault in another subscription.

Any ideas would be greatly appreciated