Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 666 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 666 Bytes

Terraform Jose Provider

Expose the go-jose packages generator option as a Terraform resource.

All the heavy lifting is done through the re-use of parts of the go-jose package, the Terraform provider code is a simple wrapper around it.

I had to copy over the content of parts of the generator submod, as the rename of the mod origin isn't fully done yet. The content of generate.go is pretty much a copy-paste with slight adaptions to fit the provider framework.

Example usage:

resource "jose_keyset" "default" {
    use = "sig"
    alg = "RS256"
    size = 2048
}