Sentry + Relay - Programmatic Setup?

Hi All,

I’m looking to set up relay automatically on a new sentry environment. Right now, I can generate credentials automatically using:

(docker-compose run --rm relay credentials generate --stdout --overwrite) > ./relay/credentials.json

But it looks like there’s no sane way I can programmatically enter the relay credentials into sentry.
It’s also making maintenance steps more manual if the underlying layer needs rebuilding - though I suppose I could fiddle with the docker compose file and persist the relay volume.

Being able to use sentry’s API or CLI to register the credentials would be awesome, but it doesn’t look like I can with either method - is this right?

Onpremise repository can do this automatically as it relies on both of them being on the same internal network. Is this not possible for you?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.