Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sad75 authored Oct 9, 2019
1 parent 4bab321 commit 4f41d97
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions README.md
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
Expand All @@ -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
Expand All @@ -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.

0 comments on commit 4f41d97

Please sign in to comment.