* add username password resource
* fix a few bugs in the tf code as well as complete tests with copied crypto code
* address PR comments
* clean up all of the hmac testing code
* remove plan only in test and fix some descriptions per PR
* added static store plus single test
* revert gomod and gosum changes
* upgrade boundary version from 0.8.1 to 0.9.1
* merged 0.9.1 update and cleaned up test file
* added example for static store, cleanup store and testfile for PR
* update scope test to ignore auto_create_admin_role needed for static credential store test
* update schema function and test comment
* remove auto_create_admin_role in favor of depends_on, and remove all references to the former
After moving to go-kms-wrapping V2, the Boundary Terraform Provider
did not load all KMS plugins resulting in an error when trying to
create a wrapper for any type other than aead:
Error: error reading wrappers from "recovery_kms_hcl":
Error configuring kms: plugin is nil
* Deprecate target host_set_ids and credential_library_ids
* Update changelog
* Include the 'type' attribute in the boundary_target documentation example. (#88)
* Include the 'type' attribute in the example.
* run tfplugindocs to generate the new markdown with type attribute change included
Co-authored-by: grantorchard <go@hashicorp.com>
* feat: add managed group resource
* feat: add tests for managed group resource
* update go.sum
* update tests
* simplify the managed group resource
* use WithDefaultPasswordAuthMethodId
* Managed groups (#129)
* docs: update host catalog resource with correct value for type attribute
* build: add Makefile target for auto-generating docs
* bugfix: make OIDC account attribute for subject ForceNew
* docs: update auto-generated docs
* Add credential library resource for Vault (#114)
* Integrate with Vault to retrieve and manage per session credentials
Co-authored-by: Louis Ruch <louisruch@gmail.com>
* Update token/clientKey on hmac change (#125)
* Update token/clientKey on hmac change
* Update changelog
* Update docs
* Prep for 1.0.3
* v1.0.3
* Update terraform-plugin-sdk
* Fix Typo
* Adopt American spelling
* fix the parameter that is actually being sent as the auth method id
Co-authored-by: Jeff Malnick <malnick@gmail.com>
Co-authored-by: Louis Ruch <louisruch@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
Co-authored-by: tf-release-bot <terraform@hashicorp.com>
Co-authored-by: Lewis Cowper <593574+lewiscowper@users.noreply.github.com>
* nits and updates
* OIDC auth method + get filter from attributes
* Add changelog
* Fix schema description
Co-authored-by: Riley Guerin <rileytg@users.noreply.github.com>
Co-authored-by: Louis Ruch <louisruch@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
Co-authored-by: tf-release-bot <terraform@hashicorp.com>
Co-authored-by: Lewis Cowper <593574+lewiscowper@users.noreply.github.com>
* Update examples
* Remove update-deps target...go get -u is generally not what you want and we want more targeted updates
* Go mod tidy
* Fix up tools
* Update docs
* Cleanup some of the repo, prep for release
* Rework docs to new registry structure
* Add docs generator tooling
* Generate the docs
* update deps
* docs: add docs generation command to readme
Co-authored-by: Jeff Malnick <malnick@gmail.com>
* Begin API updating
* Update scope and user providers
* Update group resource
* Update to TF plugin SDK v2
* Finish recovery KMS workflow
This also modifies groups tests to use it. It's easy to verify from the
controller output that it's being used since it causes warnings to be
printed.
* Finish porting group resource to proposed new paradigm
* Minor cleanup
* Allow specifying a particular token for auth
* base_url -> addr
* Add test using token
* Add set calls to Update
* Update SDK
* Update SDK
* Update user and scope
* Half of host catalog and some consolidation
* Finish host catalog
* Add host resource
* Add host set resource
* Update targets
* Some updates to newer API
* Start updating to response map standards
* Finish updating already ported resources to new paradigm
* Finish existing resource porting
* Update target to exercise default port
* Adapt target to using json.Number
* Add auth method and account resources