Skip to content

Commit

Permalink
#24: Document password usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillon Giacoppo committed Mar 15, 2019
1 parent 94bde0d commit a959b60
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/docs/r/artifactory_remote_repository.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ description: |-

Provides an Artifactory remote repository resource. This can be used to create and manage Artifactory remote repositories.

### Passwords
Passwords can only be used when encryption is turned off (https://www.jfrog.com/confluence/display/RTF/Artifactory+Key+Encryption).
Since only the artifactory server can decrypt them it is impossible for terraform to diff changes correctly.

To get full management, passwords can be decrypted globally using `POST /api/system/decrypt`. If this is not possible,
the password diff can be disabled per resource with-- noting that this will require resources to be tainted for an update:
```hcl
lifecycle {
ignore_changes = ["password"]
}
```

## Example Usage

```hcl
Expand Down
12 changes: 12 additions & 0 deletions website/docs/r/artifactory_replication_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ description: |-

Provides an Artifactory replication config resource. This can be used to create and manage Artifactory replications.

### Passwords
Passwords can only be used when encryption is turned off (https://www.jfrog.com/confluence/display/RTF/Artifactory+Key+Encryption).
Since only the artifactory server can decrypt them it is impossible for terraform to diff changes correctly.

To get full management, passwords can be decrypted globally using `POST /api/system/decrypt`. If this is not possible,
the password diff can be disabled per resource with-- noting that this will require resources to be tainted for an update:
```hcl
lifecycle {
ignore_changes = ["password"]
}
```

## Example Usage

```hcl
Expand Down

0 comments on commit a959b60

Please sign in to comment.