Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Terraform provider for secrets stored with credstash

License

NotificationsYou must be signed in to change notification settings

sspinc/terraform-provider-credstash

Repository files navigation

CircleCI

Read secrets stored withcredstash.

Install

  1. Download the binary for your platform

  2. Create the terraform plugin directory

     $ mkdir ~/.terraform.d/plugins
  3. Copy the provider binary to the terraform plugin directory

     $ cp /path/to/terraform-provider-credstash ~/.terraform.d/plugins/terraform-provider-credstash_v0.5.0
  4. Profit

From source

$ git clone https://github.com/sspinc/terraform-provider-credstash.git$ cd /path/to/terraform-provider-credstash$ make install

Usage

provider"credstash" {table="credential-store"region="us-east-1"}data"credstash_secret""rds_password" {name="rds_password"}data"credstash_secret""my_secret" {name="some_secret"version="0000000000000000001"}resource"aws_db_instance""postgres" {password="${data.credstash_secret.rds_password.value}"# other important attributes}

You can override the table on a per data source basis:

data"credstash_secret""my_secret" {table="some_table"name="some_secret"version="0000000000000000001"}

AWS credentials

AWS credentials are not directly set. Use one of the methods discussedhere.

You can set a specific profile to use:

provider"credstash" {region="us-east-1"profile="my-profile"}

Development

For dependency management Go modules are used thus you will need go 1.11+

  1. Clone the repogit clone https://github.com/sspinc/terraform-provider-credstash.git
  2. Runmake test to run all tests

Contributing

  1. Fork the project and clone it locally
  2. Open a feature brachgit checkout -b my-awesome-feature
  3. Make your changes
  4. Commit your changes
  5. Push your changes
  6. Open a pull request

License

The project is licensed under the MIT license, SeeLICENSE file for more information.

About

Terraform provider for secrets stored with credstash

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp