Skip to content

marcozj/terraform-provider-centrifyvault

Repository files navigation

Terraform Provider for Centrify Vault

The Terraform Provider for Centrify Vault is a Terraform plugin that allows other Terraform providers to retrieve vaulted password or secret from Centrify Vault. It also enables full configuration management of Centrify Vault.

Requirements

  • Terraform 0.12.x or higher
  • Go 1.13 or higher (to build the provider plugin)

Building The Provider

The GOPATH environment variable

The GOPATH environment variable specifies the location of your workspace. It defaults to a directory named go inside your home directory, so $HOME/go on Unix, and %USERPROFILE%\go (usually C:\Users\YourName\go) on Windows. The command go env GOPATH prints the effective current GOPATH; it prints the default location if the environment variable is unset. If you have not set GOPATH, you can substitute $HOME/go in those commands or else run:

$ export GOPATH=$(go env GOPATH)

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-centrify

$ mkdir -p $GOPATH/src/github.com/terraform-providers
$ cd $GOPATH/src/github.com/terraform-providers
$ git clone https://github.com/marcozj/terraform-provider-centrify terraform-provider-centrify

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-centrify
$ make build

To install the provider in your home directory

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-centrify
$ make install

Using The Provider

The provider needs to be configured with the proper credentials before it can be used. Refer to provider document page for details.

Example Usage

You can use Centrify Terraform Provider to configure Centrify platform including creation/modification/deletion of user, role, system, account, etc. It also allows other Terraform providers to retrieve vaulted password or secret from Centrify platform.

Refer to Supported Resources and Data Sources section in provider document page for details of supported configurations and example usage.

For example, this is how to create a Windows system in Centrify Vault. This is how to retrieve vaulted credentials.

About

Terraform provider for Centrify Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages