jumpserver/apps/accounts/demos/python
wangruidong 801ce10fba perf: Add Java, Node, Go, and cURL demo code 2025-02-12 18:17:17 +08:00
..
jms_pam perf: update intergration 2025-02-06 10:04:54 +08:00
README.en.md perf: Add Java, Node, Go, and cURL demo code 2025-02-12 18:17:17 +08:00
README.ja.md perf: Add Java, Node, Go, and cURL demo code 2025-02-12 18:17:17 +08:00
README.zh-hans.md perf: Add demo code docs 2025-02-11 18:21:54 +08:00
README.zh-hant.md perf: Add Java, Node, Go, and cURL demo code 2025-02-12 18:17:17 +08:00
demo.py perf: Add demo code docs 2025-02-11 18:21:54 +08:00
setup.py feat: PAM Service (#14552) 2024-12-02 10:32:52 +08:00

README.en.md

Instructions

1. Introduction

This API provides the PAM asset account service, supports RESTful style calls, and returns data in JSON format.

2. Environment Requirements

  • Python 3.11+
  • requests==2.31.0
  • httpsig==1.3.0

3. Usage

Request Method: GET api/v1/accounts/integration-applications/account-secret/

Request Parameters

Parameter Name Type Required Description
asset str Yes Asset ID / Asset Name
account str Yes Account ID / Account Name

Response Example:

{
    "id": "72b0b0aa-ad82-4182-a631-ae4865e8ae0e", 
    "secret": "123456"
}

Frequently Asked Questions (FAQ)

Q: How to obtain the API Key?

A: You can create an application in PAM - Application Management to generate KEY_ID and KEY_SECRET.

Changelog

Version Changes Date
1.0.0 Initial version 2025-02-11