jumpserver/apps/accounts/demos/node/README.ja.md

41 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 使用方法
## 1. 概要
本 API は PAM 資産アカウントサービスの表示を提供し、RESTful スタイルの呼び出しをサポートし、データは JSON 形式で返されます。
## 2. 環境要件
- `Node.js 16+`
- `axios ^1.7.9`
- `moment ^2.30.1`
## 3. 使用方法
**リクエスト方法**: `GET api/v1/accounts/integration-applications/account-secret/`
**リクエストパラメータ**
| パラメータ名 | タイプ | 必須 | 説明 |
|-------------|------|----|----------------|
| asset | str | はい | 資産 ID / 資産名 |
| account | str | はい | アカウント ID / アカウント名 |
**レスポンス例**:
```json
{
"id": "72b0b0aa-ad82-4182-a631-ae4865e8ae0e",
"secret": "123456"
}
```
よくある質問FAQ
Q: API キーはどのように取得しますか?
A: PAM - アプリケーション管理でアプリケーションを作成し、KEY_ID と KEY_SECRET を生成できます。
バージョン履歴Changelog
| バージョン | 変更内容 | 日付 |
| ----- | ----------------- |------------|
| 1.0.0 | 初始版本 | 2025-02-11 |