Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Containers
  • Comparing with other Yandex Cloud services
    • All guides
    • Getting an IAM token for a service account using a container
      • Invoking a container
      • Invoking a container asynchronously
      • Getting an invocation link
      • Authenticating when invoking a private container via HTTPS
    • Viewing operations with service resources
  • Access management
  • Tools
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Invoking a container
  3. Authenticating when invoking a private container via HTTPS

Authenticating when invoking a private container via HTTPS

Written by
Yandex Cloud
Updated at November 24, 2025

To invoke a private container via HTTPS, you need to get authenticated. To do this, get:

  • IAM token:

    • Guide for Yandex accounts.
    • Guide for service accounts.
    • Guide for a federated account.
    • Guide for a local account.

    Provide the IAM token in the Authorization header in the following format:

    Authorization: Bearer <IAM_token>
    

    IAM tokens are valid for up to 12 hours.

  • API key for a service account.

    Provide the API key in the Authorization header in the following format:

    Authorization: Api-Key <API_key>
    

    Use API keys if requesting an IAM token automatically is not an option.

Was the article helpful?

Previous
Getting an invocation link
Next
Updating a name
© 2025 Direct Cursus Technology L.L.C.