v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1424154118.9 KB

Creates an authentication token for accessing a running MicroVM. The token grants access to the specified ports on the MicroVM endpoint.

post/2025-09-09/microvms/{microvmIdentifier}/auth-token

Path parameters

microvmIdentifierstring required

The ARN or ID of the MicroVm

The ID of the MicroVM to create an authentication token for.

Request body

expirationInMinutesinteger required

The duration in minutes before the authentication token expires. Maximum: 60 minutes.

Response

Success

authTokenobject required

A map containing the authentication token. Use the value at key "X-aws-proxy-auth" as the header value when connecting to the MicroVM endpoint.