terraform-provider-confidant

command module
v0.0.0-...-3ca2ee0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 7 Imported by: 0

README

Terraform Provider for Confidant Build Status

This terraform provider is used to manage resources supported by Confidant.

Requirements

Building The Provider

Clone repository to: $GOPATH/src/github.com/stripe/terraform-provider-confidant

$ mkdir -p $GOPATH/src/github.com/stripe; cd $GOPATH/src/github.com/stripe
$ git clone git@github.com:stripe/terraform-provider-confidant

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/stripe/terraform-provider-confidant
$ go install

Or using bazel:

bazel build //:terraform-provider-confidant

Using the provider

If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

Configuring the provider
provider "confidant" {
  # The key name used for KMS auth (see Confidant's docs for more details)
  authkey   = "alias/for/your/kms/key"

  # The AWS region your KMS keys are located in
  region    = "us-west-2"

  # The URL to access confidant's API
  url       = "https://your_confidant_server.com"

  # The to/from to use for KMS authentication (see Confidant's docs for examples)
  from      = "your_aws_user_id"
  to        = "ConfidantServer"
}
Resource: service

The provider allows you to create and manage confidant services. This includes managing the secrets that are assigned to that service. It does not include creating prerequisite's outside of the Confidant API such as IAM Roles.

resource "confidant_service" "example-service" {
  name        = "example-service"
  credentials = [
      "name_of_credential_1",
      "name_of_credential_2",
  ]
}

Contributing

For guidance on contributing, please see contribution guidelines. If you have other development questions we don't cover, please file an issue!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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