Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 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
      • Making a container public
      • Making a container private
      • Viewing roles assigned to a container
      • Assigning roles to a container
      • Revoking roles assigned to a container
    • 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. Managing container access permissions
  3. Making a container private

Making a container private

Written by
Yandex Cloud
Updated at July 1, 2026
View in Markdown

For a container to be invoked only by users with the permission to do so, make the container private.

Note

If all unauthorized users (the All users public group) of a cloud or folder are granted permissions to invoke a container, the container will be public regardless of its settings. How to revoke a role.

CLI

To make a container private, run this command:

yc serverless container deny-unauthenticated-invoke <container_name>

Result:

done (1s)

Was the article helpful?

Previous
Making a container public
Next
Viewing roles assigned to a container
© 2026 Direct Cursus Technology L.L.C.