terraform-provider-smallstep

command module
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Terraform Provider Smallstep

Usage

Documentation for using the Smallstep provider can be found here

Developing

This repository is based on the Terraform Plugin Framework.

It uses an API client generated from Smallstep's OpenAPI spec. The generated client and server can be copied from the API repo to internal/apiclient and internal/apiserver. The generated server is only used to get documentation for fields since it embedds OpenAPI spec.

Requirements
Building The Provider

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

Documentation

To generate or update documentation, run go generate.

Testing

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

make testacc

Use these environment variables to configure the account the tests run against:

  • SMALLSTEP_API_TOKEN
  • SMALLSTEP_API_URL
  • SMALLSTEP_CA_DOMAIN

A sweeper is defined to clean up all authorities older than 1 day unless the authority domain begins with keep-.

make sweep

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
apiclient/v20230301
Package v20230301 provides primitives to interact with the openapi HTTP API.
Package v20230301 provides primitives to interact with the openapi HTTP API.
apiserver/v20230301
Package v20230301 provides primitives to interact with the openapi HTTP API.
Package v20230301 provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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