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
See the `openapi.json` specification and the repository wiki for more information.
21
+
Full documentation: https://autosubmit-api.readthedocs.io/
17
22
18
23
## Installation
19
24
@@ -34,20 +39,12 @@ autosubmit_api start
34
39
35
40
## Configuration options
36
41
37
-
The Autosubmit API have some configuration options that can be modified by setting their specific environment variable before starting the server:
42
+
The Autosubmit API have some configuration options that can be modified by setting their specific environment variable before starting the server. Here are some options:
38
43
39
-
-**`PROTECTION_LEVEL`**: Default `ALL`. Possible values `ALL`, `WRITEONLY`, `NONE`.
40
-
- If set to `ALL`, all the endpoints will be protected by needing a valid token inside the `Authorization` header of the request.
41
-
- If set to `WRITEONLY`, only a subset of the endpoints will be protected.
42
-
- If set to `NONE`, none of the endpoints will be protected.
43
44
-**`SECRET_KEY`**: The secret key to encode the JWT tokens from the Authorization Module. **Important to be set up on production.**
44
-
-**`CAS_SERVER_URL`**: CAS Protocol server base URL to request a ticket and verify it. Used for `/v4` endpoints. `CAS_LOGIN_URL` and `CAS_VERIFY_URL` can be empty if this variable is set (the API will append the protocol URL subpaths).
45
-
-**`CAS_LOGIN_URL`**: CAS Protocol URL to request a ticket. Used for `/v3` endpoints.
46
-
-**`CAS_VERIFY_URL`**: CAS Protocol URL to verify a given ticket. Used for `/v3` endpoints.
47
-
-**`GITHUB_OAUTH_CLIENT_ID`**: Client ID of the Github Oauth app.
48
-
-**`GITHUB_OAUTH_CLIENT_SECRET`**: Secret key of the Github Oauth app.
49
-
-**`GITHUB_OAUTH_WHITELIST_ORGANIZATION`**: Used to use authorization based on the membership of a Github organization.
50
-
-**`GITHUB_OAUTH_WHITELIST_TEAM`**: Used to use authorization based on the membership of a Github team in an organization. `GITHUB_OAUTH_WHITELIST_ORGANIZATION` is required
45
+
-**`AS_API_ROOT_PATH`**: The root path of the API. This is useful if you are serving it with a reverse proxy. Default is an empty string.
46
+
47
+
To see the full list go to: https://autosubmit-api.readthedocs.io/en/latest/configuration/
0 commit comments