This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.1.2.3.3. 安全 OAuth 令牌存储格式
OAuth 访问令牌和 OAuth 授权令牌对象名称现在作为非敏感对象名称进行存储。
在以前的版本中,secret 信息用作 OAuth 访问令牌和 OAuth 授权令牌对象名称。当对 etcd 加密时,只有值会被加密,因此这些敏感信息不会被加密。
重要
如果您要将集群升级到 OpenShift Container Platform 4.6,来自 OpenShift Container Platform 4.5 的旧令牌仍会在对象名称中公开 secret 信息。默认情况下,令牌的过期时间为 24 小时,但管理员可以更改此设置。敏感数据仍可以被公开,直到所有旧令牌已经过期或被管理员删除。