Repository navigation
Add agent-issued certificates, revocation, and Terraform provider - #9
Merged
Merged
Conversation
added 15 commits
November 9, 2026 11:16
msdmazvoid
force-pushed
the
feature/cert-ui
branch
from
November 9, 2026 16:17
ade31cb to
7c88654
Compare
Contributor
Author
|
Added periodic S3 recovery backups in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds agent-issued client certificates, durable revocation, and a Terraform provider for certificate, volume-group, and storage-class management.
The design record is committed at
docs/designs/terraform.md.What changed
Certificate authority (
internal/pki)Issuer,Registry,ExternalRevoker,FileStore,RevocationChecker, andCAStatusinterfacesmTLS enforcement
certificatesandstorage_classescapabilities and caller role/ownerAdmin API and UI
GetVGand class administration RPCsVGClassManagerwith audit-aware VG transactionsTerraform provider
cmd/terraform-provider-koujakouja_volume_groupresource and data sourcekouja_storage_classresourcekouja_client_certificateresource with sensitive private key and self-revoke guardState and audit
PutAuditEventVerification
make allmake test-providergo test -tags=unitacross all packagesgo vetfor commands and internal packagesterraform fmt -check -recursive cmd/terraform-provider-kouja/exampleskouja-2(UUIDuv8lsj-icbd-tKv2-Hi5j-ge6w-Bs1o-hU76m2)kouja_volume_groupread the registration and capacityrookerycaller certificate and it authenticated over mTLSterraform destroyrevoked the caller certificate and removed the VG registrationOperator notes
admin_ui.client_cert_dirandadmin_ui.client_ca_key_fileare removed.certificate_authority.kouja_volume_groupdestroy deregisters the VG; it does not runvgremove.