Skip to main content
GET
/
v1
/
token
Python
from salad_cloud_imds_sdk import SaladCloudImdsSdk

sdk = SaladCloudImdsSdk(
    timeout=10000
)

result = sdk.metadata.get_token()

print(result)
{
  "jwt": "<string>"
}
Last Updated: May 10, 2025

Headers

Metadata
enum<string>
required

Required header to indicate metadata request

Available options:
true

Response

OK

The identity token of the current container instance.

jwt
string
required

The JSON Web Token (JWT) that may be used to identify the running container. The JWT may be verified using the JSON Web Key Set (JWKS) available at https://matrix-rest-api.salad.com/.well-known/workload-jwks.json.

Required string length: 1 - 1000
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhYmMxMjMiLCJpYXQiOjE1MTYyMzkwMjIsImV4cCI6MTUxNjI0OTAyMn0.8EYto39v_-5ZKVRZYPKj0S-xuxtTUfWgeQ4QIFuW8mo"