spire-pipe

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

README

spire-pipe

Experimental low-level CLI utility for issuing SPIRE RPCs from scripts

I hacked together this tool some time ago while writing some automated testing. It is still quite experimental. You are welcome to use it however you please.

It is most useful when paired with a tool like jq since it requires JSON input and output (which is martialed to/from protobufs for issuing gRPC calls).

Warning: there is limited support for streaming RPCS.

Installation

go install github.com/azdagron/spire-pipe

Examples

Obtain a list of registration entries (via the SPIRE Server API Unix domain socket):

$ jq -n '{}' | spire-pipe rpc entry list-entries | jq .

Obtain a list of registration entries (via the SPIRE Server TCP port using an admin SVID obtained over the Workload API):

$ jq -n '{}' | spire-pipe rpc entry list-entries --use-workload-api | jq .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL