Changes between Version 33 and Version 34 of FeddCommands


Ignore:
Timestamp:
Jun 12, 2014 2:09:42 PM (10 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddCommands

    v33 v34  
    6262=== db_to_certs.py ===
    6363
     64This utility extracts the credentials needed to make local testbed requests from individual users to the local DETER testbed from the testbed database and stores them in a directory. It is helpful to do this when setting up a DETER access controller.
     65
     66The arguments are:
     67
     68 '''--user='''''username'''::
     69  Extract the information for ''username''.  Once '''--user''' is given once, only the users selected will be output.  The option may be specified more than once.
     70 '''--project='''''projectname''::
     71  Extract information only for the given project.  The option may be specified multiple times.
     72 '''--cert_dir='''''dir''::
     73   Use ''dir'' as the directory containing user certificates. The directory must exist.
    6474
    6575=== exp_access_db.py ===
     
    107117As with other commands in the fedd package, it is installed in `/usr/local/bin` by default.
    108118
    109 
    110 === fedid.py ===
    111 
    112 The `fedid.py` command prints the [Feddabout#Globalidentifiers:Fedids fedid] of the public key of an X.509 certificate to the standard output.  This is handy in getting fedids for the various [FeddDatabases databases] that `fedd` uses.  The command is invoked with 0 or more '''--attribute='''''attr'' parameters and 0 or more filenames.  The command prints the fedids and the attributes in the format of a [FeddDatabases#GlobalAccessDB global access database] and can be used directly to construct those files.  For example, this invocation:
    113 
    114 {{{
    115 $ fedid.py --attribute=split --attribute=allocate fedd.pem deterboss.pem
    116 }}}
    117 
    118 produces
    119 
    120 {{{
    121 fedid:ce90957dd5b7d20f9c3890c4599313b7f1cf31ea split,allocate
    122 fedid:9b8e7f2b114956ad516befc93fa7e7eae3751bf9 split,allocate
    123 }}}
    124 
    125 
    126 === ABAC Utilities ===
     119== ABAC Utilities ==
    127120
    128121There are several utilities for converting text-based configurations to ABAC and manipulating ABAC logic statements directly.
     
    427420The `fedd_client.py` command was the original command line interface  to most of `fedd`'s interfaces.  It has been superceded by the individual scripts above.  There are one or two functions it still provides, but these are very specialized debugging functions, and most users will not need it.
    428421
     422=== fedid.py ===
     423
     424The `fedid.py` command prints the [FeddAuthorizationArchitecture#Globalidentifiers:Fedids fedid] of the public key of an X.509 certificate to the standard output.  This is handy in getting fedids for the various [FeddDatabases databases] that `fedd` uses.  The command is invoked with 0 or more '''--attribute='''''attr'' parameters and 0 or more filenames.  The command prints the fedids and the attributes in the format of a [FeddDatabases#GlobalAccessDB global access database] and can be used directly to construct those files.  For example, this invocation:
     425
     426{{{
     427$ fedid.py --attribute=split --attribute=allocate fedd.pem deterboss.pem
     428}}}
     429
     430produces
     431
     432{{{
     433fedid:ce90957dd5b7d20f9c3890c4599313b7f1cf31ea split,allocate
     434fedid:9b8e7f2b114956ad516befc93fa7e7eae3751bf9 split,allocate
     435}}}