You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/how-to/customize-plugins/plugin-editor.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ The editor is hosted at `https://editor.suborbital.network`, and uses URL parame
14
14
You will host the SE2 builder service in your cloud infrastructure with a configured DNS name. An HTTPS connection to the builder is required to use the editor.
15
15
To launch the editor, you can either [embed the editor in a frame](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) within your own webpage, or launch it in a new tab.
16
16
17
-
## Editor token
17
+
## Session token
18
18
19
-
To authenticate the editor you'll need an [editor token](../../quickstart#obtain-an-editor-token).
19
+
To authenticate the editor you'll need an [session token](../../quickstart#obtain-a-session-token).
20
20
21
21
## Configuration
22
22
@@ -32,7 +32,7 @@ Let's break it down:
32
32
33
33
**Token**: `&token=K78as0aslwi30l8h5lbF4lS7`
34
34
35
-
* The editor token retrieved from the control-plane service
35
+
* The session token retrieved from the control-plane service
Copy file name to clipboardExpand all lines: website/docs/how-to/self-host-se2/self-hosted-quickstart.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,9 @@ The `local.suborbital.network` subdomain points to `127.0.0.1`, i.e. `localhost`
126
126
127
127
The SE2 plugin editor uses SE2's APIs from either [Go](./how-to/se2-go.md) or [JavaScript/TypeScript](./how-to/se2-js.md) to provide a low-friction environment for your users to write, build, test, and deploy plugins to your SE2 an instance in a single place. Alternatively, the [Builder API](https://reference.suborbital.dev/) can be used programmatically, if that better suits your use case.
128
128
129
-
### Obtain an editor token
129
+
### Obtain a session token
130
130
131
-
In addition to the `IDENTIFIER` and `ENV_TOKEN`, you’ll also need to set `NAMESPACE` and `fn` to the name of our namespace (e.g. `default`) and the name of our plugin (e.g. `hello`). Copy the `token` field in the response; this is your editor token.
131
+
In addition to the `IDENTIFIER` and `ENV_TOKEN`, you’ll also need to set `NAMESPACE` and `fn` to the name of our namespace (e.g. `default`) and the name of our plugin (e.g. `hello`). Copy the `token` field in the response; this is your session token.
132
132
133
133
```bash
134
134
curl --location --request GET "http://local.suborbital.network:8082/auth/v2/access/${IDENTIFIER}/${NAMESPACE}/${EXT}" \
Copy file name to clipboardExpand all lines: website/docs/quickstart-with-demo.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,33 +55,33 @@ Here we can see a counter for plugin builds and build minutes. Both of these are
55
55
56
56

57
57
58
-
## Create an access key
58
+
## Create an API key
59
59
60
-
Next, we'll need to create an access key. We'll click on:
60
+
Next, we'll need to create an API key. We'll click on:
61
61
62
-
- Manage access keys
63
-
- Create new access key
62
+
- Manage API keys
63
+
- Create new API key
64
64
65
-
Our integration will use this access key to provision resources and execute plugins in SE2. We'll give our access key:
65
+
Our integration will use this API key to provision resources and execute plugins in SE2. We'll give our API key:
66
66
67
67
- The name `DemoKey`
68
-
- The description: `demo access key`
68
+
- The description: `demo API key`
69
69
70
-

70
+

71
71
72
72
:::tip
73
-
We'll only be shown this access key once, so we'll need to store it somewhere safe and secure!
73
+
We'll only be shown this API key once, so we'll need to store it somewhere safe and secure!
74
74
:::
75
75
76
76
## Integrate SE2 with our app
77
77
78
-
We'll need to supply our environment variables (our environment access key and the name of our environment) to SE2. Within the directory we created when we cloned the repo for this demo in the [preliminary steps](#preliminary-steps), we'll:
78
+
We'll need to supply our environment variables (our environment API key and the name of our environment) to SE2. Within the directory we created when we cloned the repo for this demo in the [preliminary steps](#preliminary-steps), we'll:
79
79
80
80
- Open the `demo-proxyz` directory
81
81
- Create a file named `.env`
82
82
- Within our new `.env` file, we'll add our environment variables:
83
83
84
-
-`SUBORBITAL_TOKEN` is our environment's access key
84
+
-`SUBORBITAL_TOKEN` is our environment's API key
85
85
-`SUBORBITAL_ENV` is the name we gave our environment
86
86
87
87
- Next we'll need to export those variables by running:
@@ -106,9 +106,9 @@ Suborbital lets an application's users create their own secure, sandboxed plugin
106
106
107
107
The SE2 plugin editor uses SE2's APIs from either [Go](./how-to/se2-go.md) or [JavaScript/TypeScript](./how-to/se2-js.md) to provide a low-friction environment for your users to write, build, test, and deploy plugins to your SE2 an instance in a single place. Alternatively, the [Builder API](https://reference.suborbital.dev/) can be used programmatically, if that better suits your use case.
108
108
109
-
### Obtain an editor token
109
+
### Obtain a session token
110
110
111
-
In addition to the `IDENTIFIER` and `ENV_TOKEN`, you’ll also need to set `NAMESPACE` and `fn` to the name of our namespace (e.g. `default`) and the name of our plugin (e.g. `hello`). Copy the `token` field in the response; this is your editor token.
111
+
In addition to the `IDENTIFIER` and `ENV_TOKEN`, you’ll also need to set `NAMESPACE` and `fn` to the name of our namespace (e.g. `default`) and the name of our plugin (e.g. `hello`). Copy the `token` field in the response; this is your session token.
112
112
113
113
```bash
114
114
curl --location --request GET "http://local.suborbital.network:8082/auth/v2/access/${IDENTIFIER}/${NAMESPACE}/${EXT}" \
Copy file name to clipboardExpand all lines: website/docs/quickstart.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Our integration will use this API key to provision resources and execute plugins
59
59
- The name `DemoKey`
60
60
- The description: `demo API key`
61
61
62
-

62
+

63
63
64
64
:::tip
65
65
We'll only be shown this API key once, so we'll need to store it somewhere safe and secure!
@@ -188,7 +188,7 @@ The SE2 plugin editor uses SE2's APIs from either [Go](./how-to/se2-go.md) or [J
188
188
189
189
To grant a user access to modify a plugin, you'll need a session token. A session token is bound to a single plugin, and you'll create new tokens each time a user needs access to a plugin. To obtain a session token:
190
190
191
-
<TabsgroupId='editor-token'>
191
+
<TabsgroupId='session-token'>
192
192
193
193
<TabItemvalue="go"label="Using Go">
194
194
Call the `CreateSession` method with your tenant's name, the namespace, and the plugin name of your intended plugin. The response will be a struct that contains the session token. All tenant API methods will use this session response struct as input.
Copy file name to clipboardExpand all lines: website/docs/reference/future-glossary.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,4 +14,4 @@ pagination_next: null
14
14
| Tenant | words | Identifies the relationship between an Environment and some specific user or collection of users interacting with it. The Environment administrator manages and identifies this relationship including, but not limited to, tenant authentication. | tnt |
15
15
| Client | words | The application communicating with SE2 on the behalf of some Tenant ||
16
16
| Environment Token | words | Grants a Client access to an environment ||
17
-
|Editor Token | words | Grants a Tenant access to the Builder Service ||
17
+
|Session Token | words | Grants a Tenant access to the Builder Service ||
Copy file name to clipboardExpand all lines: website/docs/reference/glossary.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,4 @@ pagination_next: null
12
12
| Tenant | Identifies the relationship between an Environment and some specific user or collection of users interacting with it. The Environment administrator manages and identifies this relationship including, but not limited to, tenant authentication. | tnt |
13
13
| Client | The application communicating with SE2 on the behalf of some Tenant ||
14
14
| Environment Token | Grants a Client access to an environment ||
15
-
|Editor Token | Grants a Tenant access to the Builder Service ||
15
+
|Session Token | Grants a Tenant access to the Builder Service ||
0 commit comments