AS AgentScopeAPI 手册 / API Reference

AddCredentialRequest

public record AddCredentialRequest(String type, String label, String target, String secret)
源码Source io/agentscope/builder/web/managed/service/VaultService.java:46

承载添加凭证请求数据的记录类型。位于 io.agentscope.builder.web.managed.service 包。核心成员包括 type、label、target、secret。

Request body for adding a credential.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
typeString
执行类型相关操作。
Performs the type operation.
labelString
执行标签相关操作。
Performs the label operation.
targetString
执行目标相关操作。
Performs the target operation.
secretString
执行密钥相关操作。
Performs the secret operation.

记录组件详情Record Component Detail

type

String type

执行类型相关操作。

Performs the type operation.

源码Source io/agentscope/builder/web/managed/service/VaultService.java:46

label

String label

执行标签相关操作。

Performs the label operation.

源码Source io/agentscope/builder/web/managed/service/VaultService.java:46

target

String target

执行目标相关操作。

Performs the target operation.

源码Source io/agentscope/builder/web/managed/service/VaultService.java:46

secret

String secret

执行密钥相关操作。

Performs the secret operation.

源码Source io/agentscope/builder/web/managed/service/VaultService.java:46
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.