Function
publish
Publish new or refreshed credentials to the store for use by the service instance/binding. When rotating credentials, the previously valid credentials should be revoked after calling publish with the new credentials.
publish: func(id: service-id, credentials: list<credential>) -> result<_, error>;