gfkey manages the session key file, $HOME/.gfarm_shared_key, that is used for user authentication in a trusted environment when connecting to gfsd and/or gfmd.
When the home directory is shared among filesystem nodes, it is not necessary to use this command. If not, it is necessary to distribute a session key created with the -c or -f option to every filesystem node, in advance.
-cCreates a new session key when there is no valid session key. If a valid session key already exists, no operation is performed.
-fForces the creation of a new session key, even if a valid session key already exists.
-p periodSpecifies the term of validity in seconds. This option has to be used with the -c or -f option.
-lDisplays the current key.
-eDisplays the expiration date of the current key.
-?Displays a list of command options.