Authenticating when invoking a private container via HTTPS
Written by
Updated at May 14, 2026
To invoke a private container via HTTPS, you need to get authenticated. To do this, get:
-
- Guide for a Yandex account.
- Guide for a service account.
- Guide for a federated account.
- Guide for a local account.
Provide the IAM token in the
Authorizationheader in the following format:Authorization: Bearer <IAM_token>IAM tokens are valid for up to 12 hours.
-
Service account API key.
Provide the API key in the
Authorizationheader in the following format:Authorization: Api-Key <API_key>Use API keys if requesting an IAM token automatically is not an option.