158 Commits
Author SHA1 Message Date
Louis Ruch e1f8352fc4 Update token/clientKey on hmac change (#125)
* Update token/clientKey on hmac change

* Update changelog

* Update docs
2021-06-25 13:30:23 -07:00
Jeff MalnickandLouis Ruch 4f0509c55d 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>
2021-06-22 21:07:07 -07:00
Jeff Malnick 3c5bbd53c6 bugfix: make OIDC account attribute for subject ForceNew 2021-06-21 10:25:14 -07:00
Jeff Malnick 30b38ea89d docs: update host catalog resource with correct value for type attribute 2021-06-21 10:24:16 -07:00
Jeff Malnick 1c1e593eab feat: add claim scopes attribute 2021-05-25 13:14:02 -07:00
Jeff Malnick 8bfac9f6fa feat: add account claim maps for OIDC auth method resource 2021-05-24 10:03:55 -07:00
Jeff Malnick 3d42195a26 Add OIDC auth method and account resource (#105)
add OIDC auth method and account resources
2021-05-05 08:33:15 -07:00
Jim dc46913c63 bump deps and catch some unreported errors (#101) 2021-04-28 18:22:18 -04:00
Louis Ruch b69e175687 Boundary 0.1.8 (#91)
* Bump boundary to 0.1.8
2021-03-10 11:58:06 -08:00
Louis Ruch a2c645304f Worker filter (#76)
* Add target worker filtering

* Update docs

* Update changelog
2021-02-02 08:58:10 -08:00
Louis Ruch d94cd5a5ed Dont allow password change via tf apply (#70)
* Don't allow password change via tf apply

* Bump Terraform Boundary provider version to v1.0.0
2021-01-20 08:15:57 -08:00
Louis Ruch 224c8f5849 Update docs (#65)
* Update go mod and include go:generate for docs

* go generate
2021-01-14 14:07:36 -08:00
Louis Ruch bc45ffc489 ICU-972/Update to boundary 0.1.4 (#63)
* Update to boundary 0.1.4

* Update changelog
2021-01-12 14:05:29 -08:00
Paul Tyng 124a39c654 Override ID attribute to not be optional (#54) 2020-10-19 09:40:50 -07:00
Jeff Mitchell d622a0a80a Update docs and Makefile target (#57)
* 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
2020-10-13 20:12:03 -07:00
Jeff Malnick 9e46f2a372 Autogen Docs Cleanup (#53)
* docs: update to better resource descriptions

* rebase me
2020-10-13 11:02:52 -07:00
Jeff Mitchell d81480507e Authentication Method -> Auth Method 2020-10-12 16:13:57 -04:00
Paul Tyng b4f70a90bd Add import support, fix testing (#52)
* Add import support

* Scope provider instance to test case

Add import steps to test cases
2020-10-07 09:04:11 -07:00
Paul TyngandJeff Malnick 8bb38f1fd6 Cleanup (#50)
* 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>
2020-10-06 17:34:16 -07:00
Jeff Mitchell accfc5ba05 Update against latest SDK (#48) 2020-10-01 11:00:30 -04:00
Jeff Mitchell 124b312a08 Adapt to latest SDK changes (#47)
Note that this currently depends on a PR branch so we'll need to reset
against main once that PR is merged.
2020-09-29 21:33:18 -04:00
Jeff Malnick 689cf59d76 feat: associate accounts with users (#45) 2020-09-27 08:07:23 -07:00
Todd Knight f4331d8481 Update SDK usage to use the merged error response approach recently merged into boundary. 2020-09-24 15:58:54 -07:00
Jeff Mitchell b578fdcf98 With r_default now unable to delete, return nil instead of error if it's attempted 2020-09-21 21:54:00 -04:00
Jeff Mitchell 86d7fde1eb Update to session connection limit being int32 with unlimited being -1 2020-09-20 15:54:50 -04:00
Jeff Mitchell 2fbad77da5 Add some extra params to target test 2020-09-20 12:58:37 -04:00
Jeff Mitchell ef804f1ba0 Fix tests that broke due to SDK update 2020-09-20 12:13:08 -04:00
Jeff Mitchell e006bd2fd1 Add session max seconds and connection limit to target resource (#44) 2020-09-20 12:03:28 -04:00
Jeff Mitchell defeb32cd6 When reading a resource, on 404 destroy the resource (#41)
This allows configuration to continue after a resource has been
destroyed outside of TF by deleting the resource from state instead of
erroring.
2020-09-17 00:29:37 -04:00
Jeff Malnick d19dd70b06 fix: check default port in map is not nil 2020-09-16 13:27:44 -07:00
Jeff Mitchell 94b1bdbedc Don't allow role creation in new scopes by default
And, fix all the breakage that caused.
2020-09-16 12:34:37 -07:00
Jeff Malnick 975fd2e2d4 test: add test for auth method resource (#36) 2020-09-15 20:43:14 -07:00
Jeff Mitchell 7ce50c41fd Update target to address default_port -> attributes (#35) 2020-09-15 21:05:45 -04:00
Jeff Mitchell 88946e1088 Update to the new SDK/API (#32)
* 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
2020-09-15 16:56:43 -07:00
Jeff Malnick 97f24b8bcd fix: use hard coded "global" scope for organization creation 2020-09-04 08:09:32 -07:00
Jeff Malnick e7b7a2705c feat: add targets resource 2020-09-03 14:36:29 -07:00
Jeff Malnick d18a0b2bec feat: add host set resource 2020-09-02 15:18:17 -07:00
Jeff Malnick 5d604f03f4 feat: update auth method prefix to ampw_ 2020-08-29 12:02:52 -07:00
Jeff Malnick 251665f1d1 feat: use NewClient() pattern and refactor hostCatalog usage 2020-08-29 12:02:52 -07:00
Jeff Malnick bf21e83341 feat: update user, group, and role resources with organization resource usage 2020-08-28 07:03:11 -07:00
Jeff Malnick 039ce8281b feat: update project resource with organization scope 2020-08-28 07:03:11 -07:00
Jeff Malnick 5b045bb4a9 feat: add host & organization resource to provider 2020-08-28 07:03:11 -07:00
Jeff Malnick dfec34e669 feat: add organization resource 2020-08-28 07:03:11 -07:00
Jeff Malnick cace004114 feat: add host resource 2020-08-28 07:03:11 -07:00
Jeff Malnick 564378a84e Add member_ids to boundary_group resource (#21)
* feat: add members to groups

* docs: update boundary_group docs with member_ids
2020-08-17 11:50:18 -07:00
Jeff Malnick c1069f7303 feat: use scope_id instead of project_id (#19) 2020-08-15 14:49:09 -07:00
Jeff Malnick 0bcb0ed506 Update to use latest SDK (#18)
* chore: update provider.go to latest SDK

* chore: update resource_group.go to latest SDK

* chore: update resource_host_catalog.go to latest SDK

* chore: update resource_project.go to latest SDK

* chore: update resource_role.go to latest SDK

* chore: fix group resource to use project client

* chore: update resource_users.go to latest SDK

* chore: update resource_group_test.go to latest SDK

* chore: refactor resource_host_catalog_test.go to latest sdk

* chore: refactor resource_project_test.go to latest sdk

* chore: refactor resource_user_test.go to latest sdk

* chore: update to latest SDK usage

* update to use latest test controller

* feat: make project_id optional and override scope if set

* test: test org and project level group creation

* chore: pass around authToken info for using principal ID in setting grant scope

* build: update deps
2020-08-13 11:18:36 -07:00
Jeff Malnick f6573a6277 chore: update to name boundary (#17) 2020-08-11 16:12:26 -07:00
Jeff Mitchell 43d23f179e Update provider and tests for combined user/groups into principals in role (#15) 2020-07-12 23:28:07 -04:00
Jeff Malnick 33675ab5c7 feat: add provider authentication (#11)
* feat: add authentication to provider

* docs: add provider documentation
2020-07-12 15:09:40 -07:00