mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 12:38:05 +00:00
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:
co-authored by
Billy Tat
parent
2f4b822cb3
commit
85a32cd276
@@ -2,6 +2,8 @@
|
||||
title: API 令牌
|
||||
---
|
||||
|
||||
<v3APITokensDeprecationWarning />
|
||||
|
||||
默认情况下,某些集群级别的 API 令牌是使用无限期 TTL(`ttl=0`)生成的。换言之,除非你让令牌失效,否则 `ttl=0` 的 API 令牌永远不会过期。令牌不会因为更改密码而失效。
|
||||
|
||||
要停用 API 令牌,你可以删除令牌或停用用户账号。
|
||||
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
title: API 密钥
|
||||
---
|
||||
|
||||
<v3APITokensDeprecationWarning />
|
||||
|
||||
## API 密钥和用户身份验证
|
||||
|
||||
如果你想通过外部应用程序来访问 Rancher 集群、项目或其他对象,你可以使用 Rancher API。但是,在你的应用程序可以访问 API 之前,你必须为应用程序提供用于向 Rancher 进行身份验证的密钥。你可以通过 Rancher UI 获取密钥。
|
||||
|
||||
Reference in New Issue
Block a user