-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
324299d
commit 3ef869f
Showing
4 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Tokens Management | ||
|
||
<Tip warning={true}> | ||
This feature is part of the <a href="https://huggingface.co/enterprise" target="_blank">Enterprise Hub</a>. | ||
</Tip> | ||
|
||
Tokens Management allows organization administrators to control access tokens within their organization, ensuring that only authorized users have access to organization resources. | ||
|
||
|
||
## Viewing and Managing Access Tokens | ||
|
||
The token listing feature provides a view of all access tokens within your organization. Administrators can: | ||
|
||
* Monitor token usage and identify potential security risks | ||
* Identify inactive or unused tokens that can be revoked | ||
|
||
<div class="flex justify-center"> | ||
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-list.png" /> | ||
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-list-dark.png" /> | ||
</div> | ||
|
||
|
||
Each fine-grained token can be reviewed to see their permissions | ||
|
||
<div class="flex justify-center"> | ||
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-detail.png" /> | ||
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-detail-dark.png" /> | ||
</div> | ||
|
||
|
||
## Token policy | ||
|
||
| **Policy** | **Personal Access Tokens Status** | **Fine-Grained Tokens Status** | | ||
| --- | --- | --- | | ||
| **Allow access via User Access Tokens** | Authorized | Authorized | | ||
| **Only access via fine-grained tokens** | Unauthorized | Authorized | | ||
| **Do not require administrator approval** | Unauthorized | Authorized | | ||
| **Require administrator approval** | Unauthorized | Unauthorized without an approval (except for admin-created) | | ||
|
||
|
||
<div class="flex justify-center"> | ||
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-policy.png" /> | ||
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-policy.png" /> | ||
</div> | ||
|
||
|
||
## Reviewing Token Authorization | ||
|
||
If your token policy requires an approval before accessing your resources, organization administrators can view all fine-grained tokens that can access resources owned by the organization. Organization owners can also revoke access by fine-grained personal access tokens. Organization administrators will receive an email when an authorization is requested. | ||
|
||
When a token is revoked or denied, the user who created the token will receive an email notification. | ||
|
||
Organization owners can only view and revoke fine-grained personal access tokens, not personal access tokens. | ||
|
||
|
||
<div class="flex justify-center"> | ||
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-review.png" /> | ||
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/tokens-management-review.png" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters