pub fn write(sink: &SinkConfig, creds: &AppCredentials) -> Result<()>
Write credentials to the configured sink.