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
This is an automated pull request to sync changes between the public and
private unified docs repos.
To preserve continuity across repos, _do not squash_ this pull request.
Copy file name to clipboardExpand all lines: content/terraform-enterprise/1.0.x/docs/enterprise/deploy/reference/cli.mdx
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,13 +164,14 @@ Each specific run of the admin `usage-report` command generates the product usag
164
164
165
165
To send product usage reports to HashiCorp, visit the [**Licensing utilization reporting** page](https://portal.cloud.hashicorp.com/license-utilization/reports/create) and use the upload form.
166
166
167
-
## Manage admin API tokens
167
+
## Manage System API tokens
168
168
169
-
Terraform Enterprise provides commands to manage authentication tokens for the Admin API, which allows programmatic access to administrative functions.
169
+
Terraform Enterprise provides commands to manage authentication tokens for the System API, which allows programmatic access to administrative functions.
170
+
Note that this is not equivalent to the Admin API which manages organization and workspace resources. The System API interacts with the TFE deployment and not the TFE application.
170
171
171
-
### Generate an admin API token
172
+
### Generate a System API token
172
173
173
-
To create a new admin API token, use the `admin api-token generate` command with a required description that helps identify the token's purpose or owner:
174
+
To create a new System API token, use the `admin api-token generate` command with a required description that helps identify the token's purpose or owner:
To list all existing admin API tokens along with their metadata (excluding the actual token value), use:
188
+
To list all existing System API tokens along with their metadata (excluding the actual token value), use:
188
189
189
190
```shell-session
190
191
$ tfectl admin api-token list
191
192
```
192
193
193
194
This command displays the token ID, creation date, expiration date, last used date, and description for each token. The output is ordered by creation date.
194
195
195
-
### Revoke an admin API token
196
+
### Revoke a System API token
196
197
197
-
To revoke an admin API token, use the `admin api-token revoke` command with the token ID (obtained from the `list` command):
198
+
To revoke a System API token, use the `admin api-token revoke` command with the token ID (obtained from the `list` command):
0 commit comments