Add v3 API token deprecation notice (#2250)

* Add v3 API token deprecation warning shared file / Add warning to applicable pages

* Update Deprecation of v3 API tokens warning

* Update shared-files/_v3-api-tokens-deprecation-warning.md

Co-authored-by: Billy Tat <btat@suse.com>

* Update src/theme/MDXComponents.js

Co-authored-by: Billy Tat <btat@suse.com>

* Fix/update typo in shared file name (v3APITokensDeprecationWarning)

* Fix wording in Deprecation of v3 API tokens warning

---------

Co-authored-by: Billy Tat <btat@suse.com>
This commit is contained in:
Lucas Saintarbor
2026-03-24 08:34:56 -07:00
committed by GitHub
co-authored by Billy Tat
parent 2f4b822cb3
commit 85a32cd276
12 changed files with 30 additions and 0 deletions
@@ -2,6 +2,8 @@
title: API 令牌
---
<v3APITokensDeprecationWarning />
默认情况下,某些集群级别的 API 令牌是使用无限期 TTL(`ttl=0`)生成的。换言之,除非你让令牌失效,否则 `ttl=0` 的 API 令牌永远不会过期。令牌不会因为更改密码而失效。
要停用 API 令牌,你可以删除令牌或停用用户账号。