class AnonFilesHandler(AnonymousOperationsHandler):
"""Anonymous file operations.
This is needed for Juju. The story goes something like this:
- The Juju provider will upload a file using an "unguessable" name.
- The name of this file (or its URL) will be shared with all the agents in
the environment. They cannot modify the file, but they can access it
without credentials.
"""
Here is an extract from src/maasserver/ api.py:
class AnonFilesHandle r(AnonymousOper ationsHandler) :
"""Anonymous file operations.
This is needed for Juju. The story goes something like this:
- The Juju provider will upload a file using an "unguessable" name.
- The name of this file (or its URL) will be shared with all the agents in
the environment. They cannot modify the file, but they can access it
without credentials.
"""