Create a service account token
- POST also PUT /_security/service/{namespace}/{service}/credential/token/{name}
- POST /_security/service/{namespace}/{service}/credential/token
Create a service accounts token for access without requiring basic authentication.
Note
Service account tokens never expire. You must actively delete them if they are no longer needed.