Sha256: aa8e445a388f41d8e8dce527253de6273a1c8199cccc1aa3e870da6360bf7316

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

metadata :name        => "aaa_signer",
         :description => "Request Signer for Choria AAA Service",
         :author      => "R.I.Pienaar <rip@devco.net>",
         :license     => "Apache-2.0",
         :version     => "0.29.4",
         :url         => "https://github.com/choria-io/aaasvc",
         :provider    => "golang",
         :service     => true,
         :timeout     => 10


action "sign", :description => "Signs a RPC Request on behalf of a user" do
  display :always

  input :request,
        :prompt      => "RPC Request",
        :description => "The request to sign",
        :type        => :string,
        :validation  => :shellsafe,
        :maxlength   => 100240,
        :optional    => false


  input :signature,
        :prompt      => "Request Signature",
        :description => "A signature produced using the ed25519 seed of the request, hex encoded",
        :type        => :string,
        :validation  => '.',
        :maxlength   => 1024,
        :optional    => false


  input :token,
        :prompt      => "JWT Token",
        :description => "The JWT token authenticating the user",
        :type        => :string,
        :validation  => '.',
        :maxlength   => 10024,
        :optional    => false




  output :secure_request,
         :description => "The signed Secure Request",
         :type        => "string",
         :display_as  => "Secure Request"

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
choria-mcorpc-support-2.26.5 lib/mcollective/agent/aaa_signer.ddl
choria-mcorpc-support-2.26.4 lib/mcollective/agent/aaa_signer.ddl