Sawyer Waugh
06/23/2022, 4:07 PMcontext.yaml
.
If I setup my instance at
airbyte.my-org.onplural.sh
,
and setup the api at
airbyte-api.my-org.onplural.sh
How do I interact with API? I tried to replicate the network calls that I see in Chrome dev tools (~~`api/v1/worspace-id/get-destinations` ) with postman. I keep getting redirects to the ‘sign in with plural’ page
i assume I need to use the other api-specific hostname? and how do i handle authentication - service token from app.plural.com or something else?Sawyer Waugh
06/23/2022, 4:08 PMabhi
06/23/2022, 10:01 PMabhi
06/23/2022, 10:02 PMSawyer Waugh
06/28/2022, 8:11 PM<https://app.plural.sh/me/edit/tokens>
or something else?
b. What type of Authentication ?
c. Does this token get attached as a header, query param or in the body?Sawyer Waugh
06/28/2022, 8:13 PMabhi
06/28/2022, 10:02 PMMichael Guarino
06/28/2022, 10:05 PMapi
as the username to make it explicit that it's used for the api, and you can generate a random password with plural crypto random
. To actually set these add a users key in your context.yaml file like:
users:
<uname>: <password>
then run plural build --only airbyte && plural deploy --commit "adding airbyte basic auth"
You might need to also delete the airbyte webserver pods to make it take effect, the rotation isn't always automatic for airbyteSawyer Waugh
07/01/2022, 1:23 PM