Skip to content

Commit

Permalink
renamed provider to secretsmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
idimov-keeper committed Nov 4, 2021
1 parent d66c2d9 commit 42356e4
Show file tree
Hide file tree
Showing 90 changed files with 707 additions and 658 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ terraform.tfstate
*.log
*.bak

terraform-provider-keeper
terraform-provider-keeper*.zip
terraform-provider-keeper*SHA256SUMS
terraform-provider-secretsmanager
terraform-provider-secretsmanager*.zip
terraform-provider-secretsmanager*SHA256SUMS
dist/
54 changes: 27 additions & 27 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@ testacc:
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m

install:
go build -o ~/.terraform.d/plugins/terraform-provider-keeper
go build -o ~/.terraform.d/plugins/terraform-provider-secretsmanager

build-all:
$(eval GOOS=darwin) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=darwin) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=windows) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}.exe
$(eval GOOS=windows) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}_${GOOS}_${GOARCH}.exe
$(eval GOOS=darwin) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=darwin) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=freebsd) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=linux) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}
$(eval GOOS=windows) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}.exe
$(eval GOOS=windows) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}_${GOOS}_${GOARCH}.exe

release-all:
$(eval GOOS=darwin) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=darwin) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
$(eval GOOS=windows) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}.exe; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}.exe
$(eval GOOS=windows) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-keeper_${VVERSION}.exe; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}.exe
shasum -a 256 terraform-provider-keeper_${VERSION}_*.zip > terraform-provider-keeper_${VERSION}_SHA256SUMS
# detached signature terraform-provider-keeper_keeper_${VERSION}_SHA256SUMS.{asc|sig}
# gpg -ab terraform-provider-keeper_keeper_${VERSION}_SHA256SUMS
# gpg -sb terraform-provider-keeper_keeper_${VERSION}_SHA256SUMS
$(eval GOOS=darwin) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=darwin) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=freebsd) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=arm) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=linux) $(eval GOARCH=arm64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
$(eval GOOS=windows) $(eval GOARCH=386) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}.exe; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}.exe
$(eval GOOS=windows) $(eval GOARCH=amd64) GOOS=${GOOS} GOARCH=${GOARCH} go build -o terraform-provider-secretsmanager_${VVERSION}.exe; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}.exe
shasum -a 256 terraform-provider-secretsmanager_${VERSION}_*.zip > terraform-provider-secretsmanager_${VERSION}_SHA256SUMS
# detached signature terraform-provider-secretsmanager_${VERSION}_SHA256SUMS.{asc|sig}
# gpg -ab terraform-provider-secretsmanager_${VERSION}_SHA256SUMS
# gpg -sb terraform-provider-secretsmanager_${VERSION}_SHA256SUMS
55 changes: 27 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ sm client add --app <APP_NAME> --unlock-ip --config-init=b64
terraform {
required_providers {
# add keeper secrets manager plugin
keeper = {
source = "github.com/keeper-security/keeper"
version = ">= 0.1.0"
secretsmanager = {
source = "keeper-security/secretsmanager"
version = ">= 1.0.0"
}
}
}
# Configure plugin
provider "keeper" {
provider "secretsmanager" {
credential = file("~/.keeper/credential")
}
```
Expand All @@ -64,7 +64,7 @@ If you need help, send an e-mail to [sm@keepersecurity.com](mailto:sm@keepersecu
Get the source code:

```bash
git clone https://github.com/keeper-security/terraform-provider-keeper
git clone https://github.com/keeper-security/terraform-provider-secretsmanager
```

Build it using:
Expand Down Expand Up @@ -132,48 +132,48 @@ It is officially supported and actively maintained by Keeper Security.
```hcl
terraform {
required_providers {
keeper = {
source = "keeper/keeper"
version = ">= 0.1.0"
secretsmanager = {
source = "keeper-security/secretsmanager"
version = ">= 1.0.0"
}
}
}
provider "keeper" {
provider "secretsmanager" {
credential = "<CREDENTIAL>"
# credential = file("~/.keeper/credential")
}
data "keeper_secret_database_credentials" "my_db_creds" {
data "secretsmanager_database_credentials" "my_db_creds" {
path = "<UID>"
}
output "db_type" {
value = data.keeper_secret_database_credentials.my_db_creds.db_type
value = data.secretsmanager_database_credentials.my_db_creds.db_type
}
output "login" {
value = data.keeper_secret_database_credentials.my_db_creds.login
value = data.secretsmanager_database_credentials.my_db_creds.login
}
```

### Terraform v0.13 and above ([GitHub](https://github.com/keeper-security/terraform-provider-keeper/) manual install)
### Terraform v0.13 and above ([GitHub](https://github.com/keeper-security/terraform-provider-secretsmanager/) manual install)

Download archive with the [latest release](https://github.com/keeper-security/terraform-provider-keeper/releases/latest) for your platform and copy it to the corresponding plugin folder (_Linux and MacOS:_ `~/.terraform.d/plugins/github.com/keeper-security/keeper` _Windows:_ `%APPDATA%/terraform.d/plugins/github.com/keeper-security/keeper`)
Use the same config from above just remember to initialize `source` with the full URL `source = "github.com/keeper-security/keeper"`
Download archive with the [latest release](https://github.com/keeper-security/terraform-provider-secretsmanager/releases/latest) for your platform and copy it to the corresponding plugin folder (_Linux and MacOS:_ `~/.terraform.d/plugins/github.com/keeper-security/secretsmanager` _Windows:_ `%APPDATA%/terraform.d/plugins/github.com/keeper-security/secretsmanager`)
Use the same config from above just remember to initialize `source` with the full URL `source = "github.com/keeper-security/secretsmanager"`

MacOS:
```bash
mkdir -p ~/.terraform.d/plugins/github.com/keeper-security/keeper && \
cd ~/.terraform.d/plugins/github.com/keeper-security/keeper && \
curl -SfLOJ https://github.com/keeper-security/terraform-provider-keeper/releases/latest/download/terraform-provider-keeper_1.0.0_darwin_amd64.zip
mkdir -p ~/.terraform.d/plugins/github.com/keeper-security/secretsmanager && \
cd ~/.terraform.d/plugins/github.com/keeper-security/secretsmanager && \
curl -SfLOJ https://github.com/keeper-security/terraform-provider-secretsmanager/releases/latest/download/terraform-provider-secretsmanager_1.0.0_darwin_amd64.zip
```
Windows:
```bash
SETLOCAL EnableExtensions && ^
mkdir %APPDATA%\.terraform.d\plugins\github.com\keeper-security\keeper && ^
cd %APPDATA%\.terraform.d\plugins\github.com\keeper-security\keeper && ^
curl -SfLOJ https://github.com/keeper-security/terraform-provider-keeper/releases/latest/download/terraform-provider-keeper_1.0.0_windows_amd64.zip
mkdir %APPDATA%\.terraform.d\plugins\github.com\keeper-security\secretsmanager && ^
cd %APPDATA%\.terraform.d\plugins\github.com\keeper-security\secretsmanager && ^
curl -SfLOJ https://github.com/keeper-security/terraform-provider-secretsmanager/releases/latest/download/terraform-provider-secretsmanager_1.0.0_windows_amd64.zip
```
Have a look at some working [examples](./examples) in this repo.

Expand All @@ -184,28 +184,27 @@ Afterwards you can run the following example with Terraform.
```hcl
terraform {
required_providers {
keeper = {
version = ">= 0.1.0"
secretsmanager = {
version = ">= 1.0.0"
}
}
}
provider "keeper" {
provider "secretsmanager" {
credential = "<CREDENTIAL>"
# credential = file("~/.keeper/credential")
}
data "keeper_secret_database_credentials" "my_db_creds" {
data "secretsmanager_database_credentials" "my_db_creds" {
path = "<UID>"
}
output "db_type" {
value = data.keeper_secret_database_credentials.my_db_creds.db_type
value = data.secretsmanager_database_credentials.my_db_creds.db_type
}
output "login" {
value = data.keeper_secret_database_credentials.my_db_creds.login
value = data.secretsmanager_database_credentials.my_db_creds.login
}
```
Have a look at some working [examples](./examples) in this repo.

24 changes: 12 additions & 12 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ VVERSION=v${VERSION}

echo LATEST_TAG=$LATEST_TAG

export GOOS=darwin; export GOARCH=amd64 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=darwin; export GOARCH=arm64 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=freebsd; export GOARCH=386 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=freebsd; export GOARCH=amd64 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=freebsd; export GOARCH=arm ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=linux; export GOARCH=386 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=linux; export GOARCH=amd64 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=linux; export GOARCH=arm ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=linux; export GOARCH=arm64 ;go build -o terraform-provider-keeper_${VVERSION}; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}
export GOOS=windows; export GOARCH=386 ;go build -o terraform-provider-keeper_${VVERSION}.exe; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}.exe
export GOOS=windows; export GOARCH=amd64 ;go build -o terraform-provider-keeper_${VVERSION}.exe; zip -m terraform-provider-keeper_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-keeper_${VVERSION}.exe
shasum -a 256 terraform-provider-keeper_${VERSION}_*.zip > terraform-provider-keeper_${VERSION}_SHA256SUMS
export GOOS=darwin; export GOARCH=amd64 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=darwin; export GOARCH=arm64 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=freebsd; export GOARCH=386 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=freebsd; export GOARCH=amd64 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=freebsd; export GOARCH=arm ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=linux; export GOARCH=386 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=linux; export GOARCH=amd64 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=linux; export GOARCH=arm ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=linux; export GOARCH=arm64 ;go build -o terraform-provider-secretsmanager_${VVERSION}; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}
export GOOS=windows; export GOARCH=386 ;go build -o terraform-provider-secretsmanager_${VVERSION}.exe; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}.exe
export GOOS=windows; export GOARCH=amd64 ;go build -o terraform-provider-secretsmanager_${VVERSION}.exe; zip -m terraform-provider-secretsmanager_${VERSION}_${GOOS}_${GOARCH}.zip terraform-provider-secretsmanager_${VVERSION}.exe
shasum -a 256 terraform-provider-secretsmanager_${VERSION}_*.zip > terraform-provider-secretsmanager_${VERSION}_SHA256SUMS
4 changes: 2 additions & 2 deletions docs/data-sources/address.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# keeper_secret_address Data Source
# secretsmanager_address Data Source

Use this data source to read secrets of type `address` stored in Keeper Vault

## Example Usage

```terraform
data "keeper_secret_address" "address" {
data "secretsmanager_address" "address" {
path = "<record UID>"
}
```
Expand Down
Loading

0 comments on commit 42356e4

Please sign in to comment.