2025-02-12 10:12:37 +00:00
|
|
|
# Instructions
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
## 1. Introduction
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
This API provides the PAM asset account service, supports RESTful style calls, and returns data in JSON format.
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
## 2. Environment Requirements
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
- `Python 3.11+`
|
|
|
|
- `requests==2.31.0`
|
|
|
|
- `httpsig==1.3.0`
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
## 3. Usage
|
|
|
|
**Request Method**: `GET api/v1/accounts/integration-applications/account-secret/`
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
**Request Parameters**
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
| Parameter Name | Type | Required | Description |
|
|
|
|
|----------------|------|----------|-------------------|
|
|
|
|
| asset | str | Yes | Asset ID / Asset Name |
|
|
|
|
| account | str | Yes | Account ID / Account Name |
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
**Response Example**:
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"id": "72b0b0aa-ad82-4182-a631-ae4865e8ae0e",
|
|
|
|
"secret": "123456"
|
|
|
|
}
|
2024-12-02 02:32:52 +00:00
|
|
|
```
|
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
## Frequently Asked Questions (FAQ)
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
Q: How to obtain the API Key?
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
A: You can create an application in PAM - Application Management to generate KEY_ID and KEY_SECRET.
|
2024-12-02 02:32:52 +00:00
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
## Changelog
|
2024-12-02 02:32:52 +00:00
|
|
|
|
|
|
|
|
2025-02-12 10:12:37 +00:00
|
|
|
| Version | Changes | Date |
|
|
|
|
|---------|------------------------|------------|
|
|
|
|
| 1.0.0 | Initial version | 2025-02-11 |
|