The complete set of command-line options to grid-proxy-info are:
-help,-usage
Display the command-line options to grid-proxy-info.
-version
Display the version number of the grid-proxy-info command.
-debug
Display verbose error messages.
-filePROXYFILE,-fPROXYFILE
Read the proxy located in the file PROXYFILE instead of using the default proxy.
-subject,-s
Display the proxy certificate’s subject distinguished name.
-issuer,-i
Display the proxy certificate issuer’s distinguished name.
-identity
Display the proxy certificate’s identity. For non-independent proxies, the identity is the subject of
the certificate which issued the first proxy in the proxy chain.
-type
Display the type of proxy certificate. The type string includes the format ("legacy", "draft", or RFC
3280 compliant), identity type ("impersonation" or "independent"), and policy ("limited" or "full").
See grid-proxy-init(1) for information about how to create different types of proxies.
-timeleft
Display the number of seconds remaining until the proxy certificate expires.
-strength
Display the strength (in bits) of the key associated with the proxy certificate.
-all
Display the default information for the proxy when also using the -e or -exists command-line option.
-text
Display the proxy certificate contents to standard output, including policy information, issuer,
public key, and modulus.
-path
Display the path to the file containing the default proxy certificate.
-rfc2253
Display distinguished names for the subject, issuer, and identity using the string representation
described in RFC 2253, instead of the legacy format.
-exists,-e
Perform an existence and validity check for the proxy. If a valid proxy exists and matches the
criteria described by other command-line options (if any), exit with 0; otherwise, exit with 1. This
option must be before other validity check predicate in the command-line options. If this option is
specified, the output of the default facts about the proxy is disabled. Use the -all option to have
the information displayed as well as the exit code set.
-validHOURS:MINUTES,-vHOURS:MINUTES,-hoursHOURS,-hHOURS
Check that the proxy certificate is valid for at least HOURS hours and MINUTES minutes. If it is not,
grid-proxy-info will exit with exit code 1.
-bitsBITS,-bBITS
Check that the proxy certificate key strength is at least BITS bits.