1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
|
.TH myproxy-admin-load-credential 8 "2011-09-05" "MyProxy" "MyProxy"
.SH NAME
myproxy-admin-load-credential \- directly load repository
.SH SYNOPSIS
.B myproxy-admin-load-credential
[
.I options
]
.SH DESCRIPTION
The
.B myproxy-admin-load-credential
command stores a credential directly in the local MyProxy repository.
It must be run from the account that owns the repository.
Many of the options are similar to
.BR myproxy-init (1).
However, unlike
.BR myproxy-init ,
.B myproxy-admin-load-credential
does not create a proxy from the source credential but instead
directly loads a copy of the source credential into the repository.
The pass phrase of the source credential is unchanged.
Use
.BR myproxy-admin-change-pass (8)
to change the pass phrase after the credential is stored if desired.
Proxy credentials with default lifetime of 12 hours can then be
retrieved by
.BR myproxy-logon (1)
using the MyProxy passphrase.
The command's behavior is controlled by the following options.
.SH OPTIONS
.TP
.B -h, --help
Displays command usage text and exits.
.TP
.B -u, --usage
Displays command usage text and exits.
.TP
.B -v, --verbose
Enables verbose debugging output to the terminal.
.TP
.B -V, --version
Displays version information and exits.
.TP
.BI -s " dir, " --storage " dir"
Specifies the location of the credential storage directory.
The directory must be accessible only by the user running the
.B myproxy-server
process for security reasons. Default: /var/lib/myproxy or /var/myproxy or $GLOBUS_LOCATION/var/myproxy
.TP
.BI -c " filename, " --certfile " filename"
Specifies the filename of the source certificate. This is a required
parameter.
.TP
.BI -y " filename, " --keyfile " filename"
Specifies the filename of the source private key. This is a required
parameter.
If the private key is encrypted,
MyProxy clients will be required to give the encryption passphrase
to access the key.
When used with
.B -R
or
.BR -Z ,
it is common for the private key to not be encrypted,
so MyProxy clients can access the credentials using
only certificate-based authentication and authorization.
.TP
.BI -l " username, " --username " username"
Specifies the MyProxy account under which the credential should be
stored. By default, the command uses the value of the
.B LOGNAME
environment variable.
Use this option to specify a different account username on the MyProxy
server.
The MyProxy username need not correspond to a real Unix username.
.TP
.BI -t " hours, " --proxy_lifetime " hours"
Specifies the maximum lifetime of credentials retrieved from the
.BR myproxy-server (8)
using the stored credential. Default: 12 hours
.TP
.B -d, --dn_as_username
Use the certificate subject (DN) as the username.
.TP
.B -a, --allow_anonymous_retrievers
Allow credentials to be retrieved with just pass phrase authentication.
By default, only entities with credentials that match the
.BR myproxy-server.config (5)
default retriever policy may retrieve credentials.
This option allows entities without existing credentials to retrieve a
credential using pass phrase authentication by including "anonymous"
in the set of allowed retrievers. The
.BR myproxy-server.config (5)
server-wide policy must also allow "anonymous" clients for this option
to have an effect.
.TP
.B -A, --allow_anonymous_renewers
Allow credentials to be renewed by any client.
Any client with a valid credential with a subject name that matches
the stored credential may retrieve a new credential from the MyProxy
repository if this option is given.
Since this effectively defeats the purpose of proxy credential
lifetimes, it is not recommended. It is included only for sake of
completeness.
.TP
.BI -r " name, " --retrievable_by " name"
Allow the specified entity to retrieve credentials. See
.B -x
and
.B -X
options for controlling name matching behavior.
.TP
.BI -E " name, " --retrieve_key " name"
Allow the specified entity to retrieve end-entity credentials. See
.B -x
and
.B -X
options for controlling name matching behavior.
.TP
.BI -R " name, " --renewable_by " name"
Allow the specified entity to renew credentials. See
.B -x
and
.B -X
options for controlling name matching behavior.
.TP
.BI -Z " name, " --retrievable_by_cert " name"
Allow the specified entity to retrieve credentials without a passphrase.
See
.B -x
and
.B -X
options for controlling name matching behavior.
.TP
.B -x, --regex_dn_match
Specifies that names used with following options
.BR -r ,
.BR -E ,
.BR -R ,
and
.B -Z
will be matched against the full certificate subject distinguished
name (DN) according to
.B REGULAR EXPRESSIONS
in
.BR myproxy-server.config (5).
.TP
.B -X, --match_cn_only
Specifies that names used with following options
.BR -r ,
.BR -E ,
.BR -R ,
and
.B -Z
will be matched against the certificate subject common name (CN)
according to
.B REGULAR EXPRESSIONS
in
.BR myproxy-server.config (5).
For example, if an argument of
.B -r
"Jim Basney" is specified,
then the resulting policy will be "*/CN=Jim Basney".
This is the default behavior.
.TP
.BI -k " name, " --credname " name"
Specifies the credential name.
.TP
.BI -K " description, " --creddesc " description"
Specifies credential description.
.SH "EXIT STATUS"
0 on success, >0 on error
.SH AUTHORS
See
.B http://grid.ncsa.illinois.edu/myproxy/about
for the list of MyProxy authors.
.SH "SEE ALSO"
.BR myproxy-change-pass-phrase (1),
.BR myproxy-destroy (1),
.BR myproxy-info (1),
.BR myproxy-init (1),
.BR myproxy-logon (1),
.BR myproxy-retrieve (1),
.BR myproxy-store (1),
.BR myproxy-server.config (5),
.BR myproxy-admin-adduser (8),
.BR myproxy-admin-change-pass (8),
.BR myproxy-admin-query (8),
.BR myproxy-server (8)
|