Add ADM keys for Stage & Production
Categories
(Cloud Services Graveyard :: Operations: Autopush, task)
Tracking
(Not tracked)
People
(Reporter: jrconlin, Assigned: oremj)
References
()
Details
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
We'll be using ADM for FxA AutoPush now in Q3, so I'm going to re-open this.
Let me know how I should send the credentials over.
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
What needs to be done here?
Reporter | ||
Comment 6•6 years ago
|
||
Whoever controls the Amazon App needs to get the API credentials.
Once you have those, they can be installed into .autopush_endpoint.ini
as adm_creds
(or the ADM_CREDS env var as)
{"profile":{"app_id":"...", "client_id":"...", "client_secret"::"..."}}
where profile
is the profile group (similar to how iOS profiles work, with "dev", "stage", "prod", etc.)
Assignee | ||
Comment 7•6 years ago
|
||
liuche, can you contact me on slack (oremj) and we can arrange the transfer?
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
I'm not working on this but I will ask the assignee to ping you on slack to transfer them.
Assignee | ||
Comment 9•6 years ago
|
||
darcese has transferred credentials to me. What should the app_id be? I have the client id and secret. Should it be the same for dev/stage/prod?
Reporter | ||
Comment 10•6 years ago
|
||
AppId should be determined by the devs implementing the ADM receiver client.
The AppID identifies which (if any) key set should be used for this bridge connection. (See the bridge interface documentation for details). If there is no distinction between the various apps, then a common AppID could be used.
Comment 11•6 years ago
|
||
We do want this app id to be different from the common AppID (because we care about how many users are using Sync on FFTV), but I'm not clear on if additionally a separate debug app id (for example) would mess with what FxA uses different clients for. Probably firefox-fire-tv as the id name, but it'd be helpful to know how else App Services uses this id.
Comment 12•6 years ago
|
||
I don't believe we use it for anything else, so using a separate app id here shouldn't interfere with anything FxA or Sync is doing (IIUC of course).
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Okay, let's go with "firefox-fire-tv". Sorry for the delay!
Assignee | ||
Comment 14•6 years ago
|
||
Should these be deployed to autopush stage, prod or both?
Reporter | ||
Comment 15•6 years ago
|
||
I would presume "both" since it's probably easiest to have fire-tv point to prod than the stage push boxes. I don't see a problem with traffic load on prod for this.
Assignee | ||
Comment 16•6 years ago
|
||
This has been deployed to stage, profile is "fftv" app_id is firefox-fire-tv. Let me know when I should deploy to prod.
Comment 17•6 years ago
|
||
I think we can do prod now - we're incorporating ADM already in this bug: https://github.com/mozilla-mobile/firefox-tv/issues/2527
and there won't be very much load at all.
Comment 18•6 years ago
•
|
||
Hey Jeremy, just wanted to make sure you saw this - we're good to push to prod, unless there are reasons on the infrastructure side that would mean we shouldn't? And then we can close this bug.
And just to confirm, is there a different endpoint between prod/stage from https://updates-push.services.mozaws.net/push/ ?
Thanks!
Assignee | ||
Comment 19•6 years ago
|
||
This has been pushed to prod. Yes the endpoint in comment 18 should be correct.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 20•6 years ago
|
||
Sorry, I misread comment 18. The domain name for prod is updates.push.services.mozilla.com
Updated•2 years ago
|
Description
•