Commit Graph

292 Commits (d9c6de4e8b01d246fd3974ea65c5077df9e261cf)

Author SHA1 Message Date
Jeff Mitchell 46f0f55a28 Update SDK in API
5 years ago
Kevin Maris 8a8b2fb8e1
Fix nil TLSClientConfig (#901)
5 years ago
Jeff Mitchell 9879841e00 Update SDK in API
5 years ago
Jeff Mitchell 6cd97a4a6e
Add support for recursive listing (#885)
5 years ago
Jeff Mitchell 6b58a3317d
Add recursive listing to roles (#881)
5 years ago
Jeff Mitchell 717a3b52ee
Add worker tagging (#862)
5 years ago
Jeff Mitchell dcb15cffbd
Add authorized actions output on resources (#870)
5 years ago
Jeff Mitchell 27919ab11b
Groundwork for returning authorized actions (#860)
5 years ago
Jeff Mitchell 9de928318d
Skip curl output when using automatic versioning and reading (#858)
5 years ago
Michael Gaffney 94cb79bbdd
See how Boundary would look with gofumpt applied (#853)
5 years ago
Jeff Mitchell d4a6efb363
Pass endpoint to the client (#811)
5 years ago
Todd Knight aa4157639c
Change Format of API Error (#784)
5 years ago
Jeff Mitchell 813d21565f
Allow authorize-session to be invoked with target name (#737)
6 years ago
Jeff Mitchell 09b865ab28
Add `pass` cred storage support (#731)
6 years ago
Jim b8c527c6cd
handle v1 as a prefix/suffix, not just a cut set to be trimmed (#723)
6 years ago
Todd Knight abe5e9b950
Add Termination Reason (#573)
6 years ago
Jeff Mitchell 5bc8c8d921 Fix API test
6 years ago
Jeff Mitchell 26e86ef56a Update API deps
6 years ago
Jeff Mitchell fc09e2c21b Remove api mod dep for now
6 years ago
Jeff Mitchell 6993d10118 Update main's api/sdk mods
6 years ago
Jeff Mitchell 5cbfcf8eb6 Shuffle things around out of new modules
6 years ago
Jeff Mitchell 23f7306b62 Add api module
6 years ago
Todd Knight 6c6fb7a4d0
Format errors better for CLI (#552)
6 years ago
Jeff Mitchell 9237d6f787
Rename authorize to authorize-session (#531)
6 years ago
Jeff Mitchell 6ddfe407a3
Update allowed formats of ACL strings (#508)
6 years ago
Jeff Mitchell cefea936c3
Update ACLs to allow type=*. (#504)
6 years ago
Jeff Mitchell a38f40606e
Create default roles in scopes to allow authentication and listing scopes/auth methods (#502)
6 years ago
Jeff Mitchell b1fc9fd547
Sanitize protos (#471)
6 years ago
Todd Knight 0e5a849402
Adding Add|Set|Remove Accounts on the user resource (#461)
6 years ago
Jeff Mitchell ba216f894b Update docs and default address
6 years ago
Jeff Mitchell 220ca253be
Add boundary config get-token (#455)
6 years ago
Todd Knight fd0da998e8
SDK error revamp (#432)
6 years ago
Kent 'picat' Gruber 9e06d7eec2
Fix unused error in *api/client.Client.Do during redirect (#430)
6 years ago
Jeff Mitchell e86c11db62
Add session lifecycle info to controller's INFO log. (#431)
6 years ago
Todd Knight 2f8d7f0a32
API Errors: Hide and log internal errors (#411)
6 years ago
Todd Knight 21f5cc274f
Don't return nil, nil for API service methods. Add tests for updating w/ wrong version. (#396)
6 years ago
Jeff Mitchell d3606e14b6 Set wrapper on client, not token, so it doesn't fail KMS recovery on update calls
6 years ago
Jeff Mitchell 9b2646eaf9
Fix retry behavior with KMS recovery and misleading error message (#391)
6 years ago
Jeff Mitchell 5370111336 Omit private key from session output
6 years ago
Todd Knight e937b0ea27
Sessions Read/List/Cancel API and SDK (#369)
6 years ago
Jeff Mitchell edffc7863d
Change connection limit to -1 for unlimited so it works with TF (#383)
6 years ago
Jeff Mitchell 5bf555cca2
Remove connection idle timeout seconds for now (#379)
6 years ago
Jeff Mitchell 0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds (#376)
6 years ago
Jeff Mitchell 62baef1b7e
Add multi connection parameters through targets and into session creation (#375)
6 years ago
Jeff Mitchell 07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands (#370)
6 years ago
Jeff Mitchell a660e56ee7 Fix whitespace typo in generated API
6 years ago
Todd Knight f96fa25157
Add Auth Account id to Auth Token response (#363)
6 years ago
Jeff Mitchell f4ad22b247
Move default port to a TCP target attribute (#361)
6 years ago
Jeff Mitchell 77bcee1861 Use json.Number when unmarshaling into the response map
6 years ago
Jeff Mitchell a00ee7a948
Add Result types to Go SDK and properly populate body/map fields (#358)
6 years ago
Jeff Mitchell c1171e0cc6
Update API templates using list params (#352)
6 years ago
Jeff Mitchell b7524f8cfb
Decode to both the struct and a map and add access (#349)
6 years ago
Jeff Mitchell 535bca5a7a Make Authenticate less misleading
6 years ago
Jeff Mitchell f8237fb945 Move some packages into SDK, out of internal
6 years ago
Jeff Mitchell 36f975a952
Add some recovery KMS functions needed for external clients (#339)
6 years ago
Jeff Mitchell f94f21fd97
Update API codes (#336)
6 years ago
Todd Knight 99d5456d7a
Scopes type field and types in updates allowed (#335)
6 years ago
Todd Knight c3ecea172d
Generate new version of SDK resources and Add Tests (#331)
6 years ago
Todd Knight 1c2c078e0a
Adding Authz checks that support new pathing (#328)
6 years ago
Todd Knight 37e56ab46b
Pathing updated to support new and old styles (#323)
6 years ago
Jeff Mitchell 2a98432143 Fix test build
6 years ago
Jeff Mitchell cad7bb3ead
Don't use 2 suffix when only new style is enabled (#325)
6 years ago
Todd Knight 5553fd989f
Host Set and Target SDK Generation using new Pathing (#320)
6 years ago
Todd Knight 544e78b593
Target Handler and SDK CRUDL & add|set|remove-host-sets methods. (#310)
6 years ago
Jeff Mitchell c4522aa813
Update host sets and auth system to new paradigm (#319)
6 years ago
Jeff Mitchell 17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages (#311)
6 years ago
Jeff Mitchell 490be8a7e4
Add ability to skip role creation on scope create (#308)
6 years ago
Todd Knight e4da5e9ab5
add|set|remove-hosts for host-sets SDK and API (#304)
6 years ago
Jeff Mitchell 8f579c75c3
paum -> ampw (#303)
6 years ago
Todd Knight c4d3414016
Add Host Set CUDLR handler and SDK (#290)
6 years ago
Jeff Mitchell 627a353ccb
Don't return an empty resource if there was an apiErr (#294)
6 years ago
Todd Knight d5678c4f80
Handler for Host CRUDL actions (#287)
6 years ago
Todd Knight 7474e956dd
List Catalogs for Repo and API Handler (#288)
6 years ago
Jim 9570897032
basic keys mgmt repo (#264)
6 years ago
Todd Knight eaae887bbe
Don't require type for children of subtyped resources. (#285)
6 years ago
Todd Knight d86e58476f
Version can be passed through request body (#281)
6 years ago
Jeff Mitchell e20c150617 Fix some tests broken by merge
6 years ago
Jeff Mitchell adfc5681be
Auth methods CLI (#277)
6 years ago
Jeff Mitchell 282177afc2
Remove the default org (#270)
6 years ago
Todd Knight e14f968fc3
Account (Set|Change)Passsword (#267)
6 years ago
Jeff Mitchell d3a1cd949b Update password auth method flags to fit current standards
6 years ago
Jeff Mitchell bb6b189513
Create a default role on new scope creation (#265)
6 years ago
Jeff Mitchell e89e9d1349
Add groups CLI command (#266)
6 years ago
Jeff Mitchell f1d69ea1ee Fix breakage from change to api generation
6 years ago
Jeff Mitchell 2c4c991cca Export API clients
6 years ago
Jeff Mitchell 419e2146d4 Revert "Move api tests to internal package to remove issue with external resources depending on internal libs"
6 years ago
Jeff Mitchell 326086e352 Move api tests to internal package to remove issue with external resources depending on internal libs
6 years ago
Jeff Mitchell c195c4bc9b
Remove disabled property and sync up field ordering and numbering (#259)
6 years ago
Jeff Mitchell 203e2b5dc2
Initial worker porting steps (#232)
6 years ago
Jeff Mitchell 4cfab04307
Migrate user name to login name (#255)
6 years ago
Jeff Mitchell 78d7f539c5
Add versioning to host catalogs/sets/hosts and fix up tests (#247)
6 years ago
Jeff Mitchell 565059ed63
Add versioning to auth methods and accounts (#249)
6 years ago
Jeff Mitchell 6661117d4c The name. The name. The name!
6 years ago
Jeff Mitchell 0c18e35b9d Fix group service proto for versions
6 years ago
Jeff Mitchell 4e58c55d66 Fix up user API tests
6 years ago
Jeff Mitchell 827d86bef1 Update API role tests and fix the structure of the protos so versioning works
6 years ago
Jeff Mitchell 99ed9d9b0c Fix group api tests
6 years ago
Jeff Mitchell bbd200101f
Move update versioning to query parameter, and fix up scope API tests (#244)
6 years ago
Jeff Mitchell f07bb9dae6 Fix breakage after change to template from previous PR
6 years ago
Jeff Mitchell df4730b1a0
Minor fixes and first API test changeover (#243)
6 years ago
Jeff Mitchell 908a299ea3
Convert SDK to the new options API (#238)
6 years ago
Todd Knight 6de1f7ee16
Auth Token Read/List/Delete handler and Go SDK (#199)
6 years ago
Todd Knight ed05652729
Add Handlers for Add/Set/Remove Group Members (#209)
6 years ago
Jeff Mitchell 995b76bbc5 Fix error that slipped in during review in #206
6 years ago
Jeff Mitchell 388a13b10d
Convert scopes to the new paradigm (#206)
6 years ago
Todd Knight 5bb13e71fe
Include Principals and Grants on Roles When Updating the Role. (#203)
6 years ago
Jeff Mitchell 99653727bb
Migrate grants to more structured output (#194)
6 years ago
Todd Knight 5826bf42fd
Fixing api test cases. (#201)
6 years ago
Todd Knight 28dbcd84bd
Authenticate Handler API and SDK, and much more (#183)
6 years ago
Jeff Mitchell acce195dcb
Organizations -> orgs consistency (#189)
6 years ago
Todd Knight 847ca1cc78
Grant management added to Roles API and SDK (#185)
6 years ago
Jeff Mitchell bcdcaffa6f
Port over 162 and 165 to master (#176)
6 years ago
Todd Knight 1ddc59f81e
Adding principal custom methods to roles handler. (#180)
6 years ago
Todd Knight 2727917b2a
Adding List to go SDK (#164)
6 years ago
Todd Knight 9a1539867e
Adding SDK ability to do CRUD operations on groups and roles under the project scope. (#157)
6 years ago
Todd Knight 5b1e4a680d
Create Role CUDLR API and SDK (#135)
6 years ago
Todd Knight 6ea448a7f3
Adding Groups API endpoint and SDK (#122)
6 years ago
Todd Knight df6ca5289f
Create User Service Handler and SDK (#106)
6 years ago
Todd Knight 2c3fbe3024
Invalid Argument errors provide per field details. (#110)
6 years ago
Todd Knight d374ac6d4c
Handler hostcatalogs sdk (#103)
6 years ago
Todd Knight 44152ae63e
Add API Error Handler (#74)
6 years ago
Todd Knight ba00b511e7
Add Project Delete to API (#66)
6 years ago
Todd Knight 7f0dfa2344
Fix Update Project Logic (#54)
6 years ago
Jeff Mitchell f8b456f3a7
Add TestController (#50)
6 years ago
Todd Knight c0c6a9b0b8
Handler project (#44)
6 years ago
Jeff Mitchell 7f2aa5ca8f
Add httpfs DB migrations and generate the input (#35)
6 years ago
Jeff Mitchell e8b5384b7a Fix missed address change in test
6 years ago
Jeff Mitchell c6a9c970b0 Don't require project in generated client requests
6 years ago
Jeff Mitchell 828fee20a1 Rename generated files to make them obvious
6 years ago
Jeff Mitchell 050b914447 Fix detail template test
6 years ago
Jeff Mitchell 11f640a0f8 Fix compilation after Id changing
6 years ago
Jeff Mitchell f36f25a23b
Add json_name fields to proto for complex names (#27)
6 years ago
Jeff Mitchell 1f0748a8c3 Don't make Id fields pointers as they are immutable
6 years ago
Jeff Mitchell 416688448c Project isn't required, so don't require it in the client
6 years ago
Jeff Mitchell 1f3c52f495
Name and addr updates (#26)
6 years ago
Jeff Mitchell 17fffe7c23
Add Response type and decoding (#24)
6 years ago
Jeff Mitchell e31e91a5ad
Add create function template and fix some minor template bugs (#23)
6 years ago
Jeff Mitchell 19f74a8247 Minor template cleanup
6 years ago
Jeff Mitchell be1063d168 Clean up and reorganize API generation
6 years ago
Jeff Mitchell 9325a6422d Remove timestamps in generated files
6 years ago
Jeff Mitchell 2926cc1000
Add initial API generation bits (#20)
6 years ago
Jeff Mitchell 7f03246c6f
Add basic API client (#19)
6 years ago