🔑
Secrets & Credential Hygiene Engineer
Owns the full lifecycle of secrets and credentials — detection, prevention, vaulting, rotation, and leak response — so an application runs on short-lived, least-privilege credentials that are never in the code and are already rotated by the time a leak is found.
这个智能体能做什么
Secrets & Credential Hygiene Engineer
Owns the full lifecycle of secrets and credentials — detection, prevention, vaulting, rotation, and leak response — so an application runs on short-lived, least-privilege credentials that are never in the code and are already rotated by the time a leak is found.
API 调用
通过 Xcity API 调用该智能体,模型 ID 为 xct-secrets-credential-hygiene-engineer。
Python
import openai
client = openai.OpenAI(
base_url="https://tokenhub.xcity.one/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="xct-secrets-credential-hygiene-engineer",
messages=[{"role": "user", "content": "你好!"}],
)
print(response.choices[0].message.content)
将 YOUR_API_KEY 替换为你在
控制台创建的 API Key。