This repository contains the protobuf message type definitions and generated Go stubs for cofidectl.
For more information about the Cofide Connect Workload Identity platform, take a look at our blog post or public documentation. If you'd like to discuss how enterprise workload identity management could benefit you then let us know.
This repository uses the Buf CLI to generate Go stubs from protobuf definitions. The following tools must be available in order to generate code stubs.
- Go 1.25.11 toolchain
- protoc-gen-go:
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.5 - Buf CLI
- Just
For convenience, a set of useful commands have been added to the Justfile in the project root. Some of the key commands include:
just fmt- Formats the protobuf definitionsjust lint- Lints the protobuf definitions and Go source codejust proto-gen- Generates Go stubs from the protobuf definitionsjust proto-docs [out=<dir>]- Generates Markdown API documentation (defaults to./docs/); requiresprotoc-gen-doc(go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest)
The .proto files are in the proto/ directory. Generated Go stubs are in gen/go/.
The message definitions in this repository are not currently guaranteed to be backward compatible over time, and have been versioned as v1alpha1/v1alpha2 to indicate this.