-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# terraform-provider-waapm | ||
Terraform provider for WALLIX Application-to-Application Password Manager (WAAPM) | ||
|
||
## Configuration | ||
|
||
The provider configuration should only define the path of the WAAPM executable: | ||
|
||
```terraform | ||
|
@@ -9,16 +11,16 @@ provider "waapm" { | |
} | ||
``` | ||
|
||
In order to retrieve a secret for the bastion and to store it in a variable, define a data source: | ||
In order to retrieve a secret for the bastion and store it in a variable, define a datasource: | ||
|
||
```terraform | ||
data "waapm_account" "service_account" { | ||
account = "[email protected]" | ||
} | ||
``` | ||
The complete list for datasource arguement is the following: | ||
* account (string): account of the secret using bastion target syntax | ||
* bastion (string): bastion url to to query | ||
The complete list for datasource arguments is as follows: | ||
* account (string): account of the secret using bastion target name syntax. This argument is mandatory. | ||
* bastion (string): bastion url to request | ||
* format (string): requested secret format | ||
* key (string): type of requested secret | ||
* modules (string): use modules for fingerprint | ||
|
@@ -28,4 +30,16 @@ The complete list for datasource arguement is the following: | |
* directory (string): directory for cred and vault files | ||
* application (string): name of the application | ||
|
||
Only account is mandatory. The secret is return as value. | ||
Only account is mandatory. The secret is returned as value. | ||
|
||
## Installation | ||
|
||
Install WAAPM providers by placing the plugin executables in the user plugins directory. | ||
The user plugins directory is in one of the following locations, depending on the host operating system: | ||
|
||
| Operating system | User plugins directory | | ||
|-------------------|---------------------------------| | ||
| Windows | `%APPDATA%\terraform.d\plugins` | | ||
| All other systems | `~/.terraform.d/plugins` | | ||
|
||
Once a plugin is installed, terraform init can initialize it normally. |