nls/doc/dls_instance_token.md

29 lines
929 B
Markdown

# Instance Token - `dls_instance_token.tok`
> TODO: Unknown value / encrypted
- Generated by `GET https://<base-url>/service_instance_manager/v1/service-instance/identity-token`
- Using binary `service_instance_token_manager.cpython-312-x86_64-linux-gnu.so` file
- [Example file](files/dls_instance_token_03-26-2025-21-06-23.tok)
- [Test file](/src/test/test_dls_instance_token.py)
This file contains raw JSON with one attribute `identityToken`.
This attribute is a JWT with only one interesting claim `service_instance_identity` which contains a bas64-decoded
string.
After encoding, it has a length of `1522` bytes.
<details>
<summary>`service_instance_token_manager_controller.py`</summary>
```python
# from "service_instance_token_manager.cpython-312-x86_64-linux-gnu.so"
_serviceInstanceTokenManager = ServiceInstanceTokenManager()
# ...
data = _serviceInstanceTokenManager.siit_get(event_args)
```
</details>