-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from maxlaverse/embedded_client
implement a client to interact with Bitwarden servers directly
- Loading branch information
Showing
37 changed files
with
2,893 additions
and
395 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
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 |
---|---|---|
|
@@ -21,9 +21,9 @@ This project is not associated with the Bitwarden project nor 8bit Solutions LLC | |
|
||
## Supported Versions | ||
The plugin has been tested and built with the following components: | ||
- [Terraform] v1.6.1 | ||
- [Bitwarden CLI] v2023.2.0 | ||
- [Go] 1.22.0 (for development) | ||
- [Terraform] v1.6.1 / [OpenTofu] v1.8.0 | ||
- [Bitwarden CLI] v2023.2.0 (except with the experimental `embedded_client`) | ||
- [Go] 1.23.1 (for development) | ||
- [Docker] 23.0.5 (for development) | ||
|
||
The provider likely works with older versions but those haven't been tested. | ||
|
@@ -45,6 +45,13 @@ terraform { | |
# Configure the Bitwarden Provider | ||
provider "bitwarden" { | ||
email = "[email protected]" | ||
# If you have the opportunity, you can try out the embedded client which removes the need for a locally installed Bitwarden CLI. | ||
# Please note that this feature is still considered as experimental, might not work as expected, and is not recommended for production use. | ||
# | ||
# experimental { | ||
# embedded_client = true | ||
# } | ||
} | ||
# Create a Bitwarden Login item | ||
|
@@ -84,7 +91,7 @@ In order to run the full suite of Acceptance tests, start a Vaultwarden server: | |
```sh | ||
$ docker run -ti \ | ||
-e I_REALLY_WANT_VOLATILE_STORAGE=true \ | ||
-e DISABLE_ICON_DOWNLOAD=false \ | ||
-e DISABLE_ICON_DOWNLOAD=true \ | ||
-e ADMIN_TOKEN=test1234 \ | ||
-e LOGIN_RATELIMIT_SECONDS=1 \ | ||
-e LOGIN_RATELIMIT_MAX_BURST=1000000 \ | ||
|
@@ -106,9 +113,10 @@ $ make testacc | |
Distributed under the Mozilla License. See [LICENSE](./LICENSE) for more information. | ||
|
||
[Terraform]: https://www.terraform.io/downloads.html | ||
[OpenTofu]: https://opentofu.org/ | ||
[Go]: https://golang.org/doc/install | ||
[Bitwarden CLI]: https://bitwarden.com/help/article/cli/#download-and-install | ||
[Docker]: https://www.docker.com/products/docker-desktop | ||
[Terraform Registry docs]: https://registry.terraform.io/providers/maxlaverse/bitwarden/latest/docs | ||
[hashicorp/terraform-plugin-sdk#63]: https://github.com/hashicorp/terraform-plugin-sdk/issues/63 | ||
[Terraform's documentation on Data Storage]: https://bitwarden.com/help/data-storage/#on-your-local-machine | ||
[Terraform's documentation on Data Storage]: https://bitwarden.com/help/data-storage/#on-your-local-machine |
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
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
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
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
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
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
Oops, something went wrong.