模板 / sequenceDiagram

API 密钥轮换

签发新密钥、更新调用方应用,并吊销旧密钥的流程。

在 Studio 中打开

预览

Mermaid 11 渲染器

正在渲染预览...

Mermaid 源码

sequenceDiagram

sequenceDiagram
    participant Admin
    participant Console as Developer console
    participant API as Key service
    participant Client as Consuming app

    Admin->>Console: Request new API key
    Console->>API: Generate key (status: active)
    API-->>Console: New key
    Console-->>Admin: Display new key
    Admin->>Client: Update key in config
    Admin->>Console: Revoke old key
    Console->>API: Set old key status: revoked

更多模板