I haven't used that platform before, so I don't know for sure, but you might find it easier to authenticate for each query, depending on how frequent they are. Or you could do it once every, say, 12 hours, and share the cookie between all the components making queries. Is that possible?
Eric Graham DevOps Specialist Main: 605.995.1777 [email protected]<mailto:[email protected]> [cid:674d1fde-d7ed-4fab-8b89-f9882c2027b4] Mitchell | Portland | Colorado Springs | San Antonio | Sioux Falls | Springfield | Charlotte ________________________________ From: Stefan G. Weichinger <[email protected]> Sent: Wednesday, December 14, 2022 3:07 AM To: Eric Graham <[email protected]>; [email protected] <[email protected]> Subject: Re: [Kea-users] Stork API Key CAUTION: This email originated outside the organization. Do not click any links or attachments unless you have verified the sender. Am 13.12.22 um 16:54 schrieb Eric Graham: > Looks like it times out after the default of 24 hours, but can be > renewed if you authenticate again. > > Defined here: > https://gitlab.isc.org/isc-projects/stork/-/blob/aa1036c20dd32eaeaa9675b329d8b704dbeeb718/backend/server/database/session/session_manager.go#L23 > > <https://gitlab.isc.org/isc-projects/stork/-/blob/aa1036c20dd32eaeaa9675b329d8b704dbeeb718/backend/server/database/session/session_manager.go#L23> > > Default defined here: > https://pkg.go.dev/github.com/alexedwards/scs/v2#SessionManager > <https://pkg.go.dev/github.com/alexedwards/scs/v2#SessionManager> phew, looks scary ;-) I wonder how I would handle this: I'd like to set up a workflow within n8n (https://n8n.io) that uses the API calls for various queries. So I assume I'd have to set up a separate task to retrieve that key every day? just asking in preparation, thanks, Stefan
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
