Metadata-Version: 2.2
Name: dpysts
Version: 0.0.1
Summary: STS python client
Home-page: https://github.com/your_username/your_package
Author: YUJING
Author-email: yujing@dianxiaomi.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# step 1: init

Invoke init method: `sts_init(server: str, model: str)`

# step 2: get STS token

Invoke token method: `sts_token(schema: str, field: str)`

The response is in JSON, and may look like below:

```
{'Credentials': {'Token': 'tHZAaB******-***-***-***-***', 'TmpSecretId': 'AKID******PABfndE', 'TmpSecretKey': 'T2GX******lylh8='}, 'ExpiredTime': 1738912303, 'Expiration': '2025-02-07T07:11:43Z', 'RequestId': 'bb***83-3**7-4**a-9**4-a3***0d'}
```

