logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wallet-admin - Wallet server administrative commands

Author

       Russ Allbery <eagle@eyrie.org>

Commands

       destroy
           Deletes  all  data  in  the wallet database and drops all of the wallet-created tables, restoring the
           database to its state prior to an "initialize" command.  Since this command is destructive and cannot
           be easily recovered from, wallet-admin will prompt first to be sure the user intends to do this.

       initialize <principal>
           Given an empty database, initializes it for use with the wallet  server  by  creating  the  necessary
           tables  and  initial  metadata.   Also  creates  an  ACL with the name ADMIN, used for administrative
           privileges to the wallet system, and adds an ACL entry to it with a scheme of "krb5" and an  instance
           of  <principal>.   This  bootstraps  the  authentication  system and allows that user to make further
           changes to the ADMIN ACL and the rest of the wallet database.  "initialize" uses "localhost"  as  the
           hostname  and  <principal> as the user when logging the history of the ADMIN ACL creation and for any
           subsequent actions required to initialize the database.

           Before running "initialize", the wallet system has to be configured.  See Wallet::Config(3) for  more
           details.   Depending  on  the  database  backend  used,  the  database may also have to be created in
           advance.

       register (object | verifier) <type> <class>
           Registers an implementation of a wallet object or ACL verifier in  the  wallet  database.   The  Perl
           class  <class>  is registered as the implementation of an object of type <type> or an ACL verifier of
           scheme <type>, allowing creation of objects with that type or ACL lines with that scheme.

           All object and ACL implementations that come with  wallet  are  registered  by  default  as  part  of
           database  initialization,  so  this  command  is  used primarily to register local implementations of
           additional object types or ACL schemes.

       upgrade
           Upgrades the database to the latest schema version, preserving data as much as possible.

Description

wallet-admin provides a command-line interface for performing administrative actions for the wallet
       system, such as setting up a new database or running reports.  It is intended to be run on the wallet
       server as a user with access to the wallet database and configuration.

       This program is a fairly thin wrapper around Wallet::Admin that translates command strings into method
       calls and returns the results.

Name

       wallet-admin - Wallet server administrative commands

Options

wallet-admin takes no traditional options.

See Also

Wallet::Admin(3), Wallet::Config(3), wallet-backend(8)

       This   program   is   part   of   the   wallet   system.    The   current   version   is  available  from
       <https://www.eyrie.org/~eagle/software/wallet/>.

1.5                                                2024-04-30                                    WALLET-ADMIN(8)

Synopsis

wallet-admincommand [args ...]

See Also