Skip to content

Commit c852932

Browse files
Where to add the auth tokens
1 parent a4998de commit c852932

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

user/enterprise/support-admin-tool.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,20 @@ Consider the following: The user gets suspended, e.g., in the GHE server (3rd-pa
2424

2525
Such a situation may be valid and desired. However, there are cases, like a person leaving a company or team, when it is simply a security matter to revoke all accesses for such users. Travis CI cannot react automatically since no automated notification has been sent out, e.g., the GHE server account is suspended. If you are considering a less drastic approach, you may consider manually [suspending a user](/user/enterprise/user-management/) instead of logging out and revoking all tokens.
2626

27-
Suspended users still have access to Travis CI via browser or travis-cli (assuming they have valid Travis access tokens present in these tools) but cannot trigger builds.
27+
Suspended users still have access to Travis CI via browser or travis-cli (assuming they have valid Travis access tokens present in these tools) but cannot trigger builds.
28+
29+
### Auth tokens
30+
31+
Following environment variables are used to manage the life of token.
32+
33+
- `WEB_TOKEN_EXPIRES_IN_HOURS`
34+
- `AUTH_TOKEN_EXPIRES_IN_DAYS`
35+
- `AUTH_CLI_TOKEN_EXPIRES_IN_DAYS`
36+
37+
These tokens can be set using the admin console `kubectl kots admin-console -n tci-enterprise-kots` under the "Advanced Setting" menu.
2838

2939
## Re-accessing Travis CI
3040
To re-access Travis CI, users must log in using a 3rd-party authenticator such as GitHub (browser, travis-cli), GitLab, or BitBucket (browser). Only with access can users see the private repositories, build history, build job logs, and obtain new Travis API tokens.
3141

3242
Please note: if such users (logged out and tokens revoked) are, e.g., suspended in the GHE server, they will be unable to successfully use their GHE server account to log into Travis CI UI or travis-cli.
43+

0 commit comments

Comments
 (0)