Click Functions in the Compute section of the side menu. The Functions page displays.
Click the relevant Functions namespace.
Click the Function settings tab
In the Privacy Policies panel, select Public or Private as required.
Setting a container to Private will not take care of the actual authentication, as token validation is done at runtime. For further information, refer to the developers documentation.