The unimelb command line clients use a configuration file (stored on the same computer that you are running the client application on) to specify the connection parameters for connecting to the Mediaflux server. The configuration file will be automatically loaded if named mflux.cfg and located in the .Arcitecta or .arc directory within your home directory (called the User Profile folder on Windows) but can be located anywhere and loaded with a command-line argument.

When scripting with aterm, you can specify the location of the config file with a command line argument, or use a wrapper script to manage loading it.

Make sure that that configuration file or directory is only accessible by you as it may contain an access token or your login credentials which provide access to your Mediaflux project.

The file consists of key=value pairs.

Authenticating with user credentials

Multi-Factor Authentication (MFA) for Mediaflux is now available. To learn more and enrol, visit: Mediaflux MFA

host=mediaflux.researchsoftware.unimelb.edu.au
port=443
transport=https
domain=YourDomain
user=YourUsername

Note: domain, user (and actually password) are optional, if any of them is not specified you will be prompted for them.  

Authenticating with a secure identity token

You can request a secure token which will allow you to connect to Mediaflux without entering a password. The token can optionally have additional restrictions placed on it so it is targeted to a specific context.  Contact Research Computing Services to request a token.  This is useful when you need to run scripts which cannot prompt you interactively for a password.

host=mediaflux.researchsoftware.unimelb.edu.au
port=443
transport=https
token=XXX_TOKEN_XXX

How to Make a Configuration File

Windows 10 or 7

macOS

Linux