All Products
Search
Document Center

Container Service for Kubernetes:InstanceMetadataOptions

Last Updated:Aug 27, 2026

Parameter

Type

Description

Example

object

ECS instance metadata access configuration.

http_tokens

string

Configuration of the ECS instance metadata access mode. Valid values:

  • optional: Compatible with both NAT mode and hardened mode.

  • required: Enables hardened mode only (IMDSv2). After this mode is enabled, applications within edge zones cannot access ECS instance metadata through NAT mode.

Default Value: optional.

Important
  • This parameter is currently available only to users on the whitelist. To use it, submit a ticket to request access.

  • This parameter is supported only in ACK managed clusters of version 1.28 or later.

Note

For more information about instance metadata access modes, see Instance Metadata Access Mode.

optional