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

pki-tps-profile - Command-line interface for managing PKI TPS profiles.

Authors

       Endi S. Dewata lt;edewata@redhat.comgt;.

Description

       The pkitps-profile commands provide command-line interfaces to manage profiles on the TPS.

       pki [CLI-options] tps-profile-find [command-options]
           This command is to list the profiles.

       pki [CLI-options] tps-profile-showprofile-ID [command-options]
           This command is to view the details of a profile.

       pki [CLI-options] tps-profile-add --input file-path [command-options]
           This command is to create a new profile.

       pki [CLI-options] tps-profile-modprofile-ID --action action [command-options]
           This command is to change the status of a profile.

       pki [CLI-options] tps-profile-modprofile-ID --input file-path [command-options]
           This command is to modify an existing profile.

       pki [CLI-options] tps-profile-delprofile-ID [command-options]
           This command is to delete a profile.

Name

       pki-tps-profile - Command-line interface for managing PKI TPS profiles.

Operations

       To  view  available  profile  commands,  type  pkitps-profile.   To view each command's usage, type pkitps-profile-lt;commandgt;--help.

       All the pkitps-profile commands require TPS admin or agent authentication.

   Listingprofiles
       To list all profile:

              $ pki <TPS admin/agent authentication> tps-profile-find

       The results can be paged using the --start and --size options described in pki(1).

   Viewingaprofile
       To view the status and properties of a profile:

              $ pki <TPS admin/agent authentication> tps-profile-show <profile ID>

       To store the output of the above operation into a file:

              $ pki <TPS admin/agent authentication> tps-profile-show <profile ID> --output <file path>

   Addingaprofile
       To add a new profile, prepare an input file specifying the profile properties in the following format:

              <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
              <Profile id="..." xmlns:ns2="http://www.w3.org/2005/Atom">
                  <Properties>
                      <Property name="...">...</Property>
                      ...
                  </Properties>
              </Profile>

       The profile properties are described in pki-tps-profile(5).  Then execute the following command:

              $ pki <TPS admin authentication> tps-profile-add --input <file path>

   Changingprofilestatus
       To change the profile status execute the following command:

              $ pki <TPS admin/agent authentication> tps-profile-mod <profile ID> --action <action>

       Available actions for admins: submit, cancel.  Available actions for agents: approve, reject.   Available
       actions for users with both admin and agent rights: enable, disable.

   Modifyingaprofile
       To  modify a profile, first disable the profile using the tps-profile-mod--actiondisable command.  Then
       download  the  current  profile  properties  using  the  tps-profile-show--output  command.   Make  the
       modifications in the file, then upload the updated file using the following command:

              $ pki <TPS admin authentication> tps-profile-mod <profile ID> --input <file path>

       Finally, the profile should be re-enabled using the tps-profile-mod--actionenable command.

   Deletingaprofile
       To  delete  a profile, first disable the profile using the tps-profile-mod--actiondisable command, then
       execute:

              $ pki <TPS admin authentication> tps-profile-del <profile ID>

Options

       The CLI options are described in pki(1).

See Also

pki(1), pki-tps-profile(5)

Synopsis

pki [CLI-options] tps-profilepki [CLI-options] tps-profile-find [command-options]
       pki [CLI-options] tps-profile-showprofile-ID [command-options]
       pki [CLI-options] tps-profile-add --input file-path [command-options]
       pki [CLI-options] tps-profile-modprofile-ID --action action [command-options]
       pki [CLI-options] tps-profile-modprofile-ID --input file-path [command-options]
       pki [CLI-options] tps-profile-delprofile-ID [command-options]

See Also