Skip to content

Releases: tonedefdev/terracreds

v2.1.6

28 Aug 06:50
Compare
Choose a tag to compare

Changelog

  • 5db8060 Merge branch 'main' into aws-sdk-v2-and-dep-updates
  • ee54a89 Upped version
  • 33caff6 Merge pull request #33 from tonedefdev/aws-sdk-v2-and-dep-updates
  • df003d2 Fixed some typos in resource names
  • 6fe0029 Updated to use the v2 aws sdk. Updated dependencies for azure and gcp
  • dc6edb0 Merge pull request #32 from tonedefdev/dependabot/go_modules/github.com/hashicorp/go-retryablehttp-0.7.7
  • ffde355 Bump github.com/hashicorp/go-retryablehttp from 0.6.6 to 0.7.7
  • 1451980 Merge pull request #29 from tonedefdev/dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • 3d25812 Bump google.golang.org/protobuf from 1.28.1 to 1.33.0
  • 33c5cae Merge pull request #28 from tonedefdev/dependabot/go_modules/golang.org/x/crypto-0.17.0
  • 432aaed Bump golang.org/x/crypto from 0.14.0 to 0.17.0

v2.1.5

12 Oct 02:45
3382aae
Compare
Choose a tag to compare

Changelog

  • 3382aae Merge pull request #26 from tonedefdev/dependabot/go_modules/golang.org/x/net-0.17.0
  • 5477c72 Bump golang.org/x/net from 0.7.0 to 0.17.0
  • 2868742 Merge pull request #25 from tonedefdev/dependabot/go_modules/google.golang.org/grpc-1.53.0
  • d9c88ee Bump google.golang.org/grpc from 1.46.2 to 1.53.0

v2.1.4

24 Feb 06:06
f6597f8
Compare
Choose a tag to compare

Changelog

  • f6597f8 Merge pull request #24 from tonedefdev/dependabot/go_modules/golang.org/x/net-0.7.0
  • f3038a5 Bump golang.org/x/net from 0.0.0-20220531201128-c960675eff93 to 0.7.0
  • c099e89 Merge pull request #23 from tonedefdev/dependabot/go_modules/golang.org/x/text-0.3.8
  • ed1d9a7 Fixed syntax for workflows
  • b0357a0 Added build badge for Ubuntu and set them to track builds that happen on main
  • 1c63c0c Added the create command required for the forget test to be run
  • 38a7a57 Consolidated actions to create temp secrets in forget test
  • 4d5d755 Ensuring on delete that a password is created to delete first since the mock keychain is recreated
  • 9e17967 Added mock keyring for linux tests
  • 49a18c1 Fixed path for Ubuntu
  • 17af1e4 Added test for Ubuntu
  • 1562735 Removed OS specific structs in favor of a unified platform struct that satisifes the TerraCreds interface to allow the go-keyring module to decide which vault to use based on the OS. Fixed error handling to ensure that when a list is empty it doesn't panic and instead returns the error from the vault.
  • c72778e Updated readme to be more generic about versions to manually download to support more frequent updates
  • 91b7f66 Added custom error package to ensure the CLI returns a non-zero exit code when errors are encountered
  • db7cd49 Bump golang.org/x/text from 0.3.7 to 0.3.8
  • 2e4becb Merge pull request #22 from tonedefdev/hotfix
  • 6a95da4 Updated name of macos build and test job
  • 6034045 Added env vars to test job
  • d484607 Separated github actions into os specific versions to help create status badges for each os
  • 1348029 Merge branch 'main' into hotfix
  • 7a71ea1 Adding pr test badge
  • 2122d36 Bumb version for homebrew package

v2.1.3

07 Feb 18:33
c530613
Compare
Choose a tag to compare

Changelog

  • f9f34ae Resolved issue with homebrew symlinking terracreds which was causing issues when trying to generate the credential helper binary version
  • 94fa27f Ensure store test logs err. Update readme with new version
  • a6be865 Fixed test to check for os version to verify correct config file name is checked
  • 6d4cc3d Setting tc_config_path to resolve test issues
  • 649f6b0 Trying appdata as home dir for win
  • 38fa41a Actually adding new test
  • c59033f Moved tests to separate workflow. Added windows tests
  • 3dc8c64 Build and export current path to env PATH to use the bin for testing
  • 232038e Building terracreds to use with test cases
  • e77cf67 Attempting to create the directories needed ahead of time
  • 9280a4e Added home directory env var for runner
  • d70c8a9 Used if condition to ensure goreleaser only runs when it's a tag
  • 1054af2 Specified to run tests on pr
  • b03ce95 Added tests in pipeline
  • 52c7a9b Fixed location of the terraformrc file on mac and linux. Fixed file mode for plugins directory and binary. Added more tests to cover more cases. Bumped version
  • d17e177 Adding more test cases
  • d7b1c75 Adding unit tests and fixing issues where forget wasn't working properly
  • 88418d7 Making the logic for updating config vault shorter and easier to read. Removing vars and const from main and making them fields in the cmd config struct to simplify how the config is built
  • 4080243 Restructuring project to make testing individual components easier and to make the code more readable

v2.1.2

04 Oct 05:48
Compare
Choose a tag to compare

Changelog

  • 243e2e3 Updating docs to no longer use the trailing slash
  • bebcc2d Updating readme with sh script for macOS and new version info
  • df489c0 Adding correct path for the .terraformrc file on macOS and Linux
  • 40875cb Adding some other 0644 mode fixes
  • 3033d40 Merge branch 'main' into rc-2.1.0
  • 832a7d7 Ensuring all file/dir modes use 0644. Using filepath methods instead of manually constructing paths. Adding tilde expansion to handle tildes in config file. Updated comman verbiage
  • d5ef6ed Merge pull request #16 from 3ware/main
  • abaeeeb fix: Change config and log file permissions

v2.1.1

22 Jun 03:54
2fbc911
Compare
Choose a tag to compare

Changelog

  • 2fbc911 Merge pull request #14 from tonedefdev/rc-2.1.1
  • 93c7fb8 More readme fixes...
  • a4d2a72 Fixed typo in readme
  • 4a8037b Fixing typo in list error message
  • dd39fa2 Updating readme with quicklinks and verbiage
  • 4329ec4 Merge branch 'main' into rc-2.1.1
  • 8876e86 Added Apache 2.0 license

v2.1.0

08 Jun 17:00
42be312
Compare
Choose a tag to compare

Changelog

  • 42be312 Merge pull request #10 from tonedefdev/rc-2.1.0
  • 2d1cf37 Update README.md
  • c099b62 Enabling bash completion
  • 0d714a9 Allowing override of replace string via flag. Fixing unit tests. Updating goreleaser to allow arm builds and github actions to use 1.18
  • 2dafd13 Fixed readme formatting
  • 9461d9a Almost finalized readme. Waiting for homebrew install instructions
  • c098994 Updated go mod
  • c1a95a2 Ensuring errors bubble up
  • 299736a Refactored duplicate code. Added --as-json to return list secrets as JSON string. Updated interface{} to use go 1.18 any aliase. Added logging for list
  • 56f7ea0 Removing unncessary SecretList slice. Updated struct name for GCP
  • 04a38df Updated to go 1.18. Updated to using azidentity sdk for Azure. Removed useMSI since azidentity has a default auth flow that leverages more than just MSI. Fixed bug where terraform login didn't work with external vaults. Removed limitations for external vault usage on Mac
  • c4824c4 Almost finalized readme
  • a9403bf Added list for gcp. Fixed issue where gcp keeps a single secret object and only updates values. Changed some verbiage. Started to update readme in prep for new release
  • 3516b34 Added Google Secrets Manager as an available vault provider
  • ff602f3 Added alias for secret-names to also be -l for list
  • 8b0dedd Added alias for create called update to make it more user friendly
  • cf2fcbc Moved as-tfvars to higher level in processing to allow more flexibility
  • 6271991 Added ability to set secrets in config file. Changed verbiage to generalize usage with all TACOS. Changed logging flag to enabled to match config setting name. Put finishing touches on list
  • 41b8c4f Added list functionality for vault providers. Added warning and user input to confirm any actions that may delete configuration settings. Changed some verbiage
  • 16fa9c6 Allowing environment variable for config file location. Ability to create setup and view all available vaults from the CLI. Generalized the name and secret value since store more than just API tokens can be stored with the tool
  • f1f96bf Updating to go 1.17
  • 966dace Fixed issue where terraform login was passing empty value. Adding ability to list credentials
  • 14f2a7c Started implementing the list feature

v2.0.0

25 Oct 04:55
982e416
Compare
Choose a tag to compare

Changelog

675308d Updated readme with info about using various vault provders. Updated config with examples
084c448 Made verbiage changes in the CLI to reference any vault. Resolved an issue where the hashi vault provider would error out if the secret was nil on first creation. Created a helper method to return the correct hostname
23103a3 Fixed the update functionaltiy for the aws provider. Added the public_ip output and policy action for updating credentials in aws
44a5b6f Setting to version 2.0.0
f0005b9 Adding the ec2 instance profile for testing. Fixed an issue where the result from the aws provider was blank
4da6dd5 Updating the resources for aws testing
19dac3b Added the initial terraform resources to perform end-to-end tests on aws
1be4f43 Finalized the remaining methods needed for HashiVault to implement the TerraVault interface. Fixed an issue where the wrong value was being passed to the 'get' command. Updated documentation on the apis
15259eb Added the framework for impelemnting the HashiCorp interface
41dcbea Adding error handling for create/store functions
057118a Added Aws SecretsManager that implements the TerraVault interface
d82bc30 Added the delete method for the TerraVault interface for AzureKeyVault
dc59689 Moved method to internal global function so it's not repeated twice
96ec5eb Added a create method for AzureKeyVault. Made a lot more changes to make the code more idiomatic
592df86 Adding the first get for the TerraVault interface for Azure. Adding terraform configs for testing
bc9965a Starting on external vault implementation
44e14f8 Removing the no longer needed Provider global var
49ec8ed Refactored extraneous if statements for each OS by creating a function that returns the specific OS' platform struct
99192bc Adding some comments, removing some unneeded conditional statements, and fixed the interface tests
5a54d67 Removing config
588fbf5 Additional style changes
7965d10 Making some additional structure and style changes
591b53c Refactoring to be more idiomatic
4658ce1 Updating Linux install commands

v1.1.1

13 Jun 16:44
Compare
Choose a tag to compare

Changelog

6885aab Adding new line entry for Linux install cmd
b67fb1e Fixed the formatting of the printed success msg
1c4e9eb Fixing the path to the plugins dir for Linux and macOS. Added better error messages to the log when errors are encountered
c5b6e46 Final readme draft
7e818d0 Using new Logging helper and making further readme updates
61d337b Adding Linux support, updated README with details for Linux, and added a step for goreleaser to create a Linux binary

v1.1.0

22 Apr 04:47
Compare
Choose a tag to compare

Changelog

a1b797d Fixing some typos and verbiage. Fixing some of the tests
212c8cd Bringing back create/delete for future use with storing credentials in services like Azure Keyvault in automated pipelines
0b7b753 Merge pull request #5 from tonedefdev/rc-1.1.0
61ca3a0 Redesigned terracreds to follow the structure required by terraform for login/logout. Removed the legacy CLI config flag as it's not required at all. Added some helpers for logging and removed print statements
40e8314 Merge pull request #4 from sirlatrom/sirlatrom/use-store-forget-verbs-3
1a13edf Add aliases to "create" and "delete" commands
66af7be Update README.md