-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite vault core, issue AppRoles to minions #62684
Commits on Oct 4, 2022
-
Rewrite vault core, orchestrate AppRoles for minions
This commit represents a fundamental rewrite in how Salt interacts with Vault. The master should still be compatible with minions running the old code. There should be no breaking changes to public interfaces and the old configuration format should still apply. Core: - Issue AppRoles to minions - Manage entities with templatable metadata for minions - Use inbuilt Salt cache - Separate config cache from token cache - Cache: introduce connection-scope vs global scope Utility module: - Support being imported (__utils__ deprecation) - Raise exceptions on queries to simplify response handling - Add classes to wrap complexity, especially regarding KV v2 - Lay some groundwork for renewing tokens Execution module: - Add patch_secret - Add version support to delete_secret - Allow returning listed keys only in list_secret - Add policy_[fetch/write/delete] and policies_list - Add query for arbitrary API queries State module: - Make use of execution module - Change output format Docs: - Update for new configuration format - Correct examples - Add configuration examples - Add required policies
Configuration menu - View commit details
-
Copy full SHA for 5449abf - Browse repository at this point
Copy the full SHA 5449abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc6f2f - Browse repository at this point
Copy the full SHA 8cc6f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bddc6 - Browse repository at this point
Copy the full SHA 60bddc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99260fe - Browse repository at this point
Copy the full SHA 99260feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7182b19 - Browse repository at this point
Copy the full SHA 7182b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7365f6e - Browse repository at this point
Copy the full SHA 7365f6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for edf378b - Browse repository at this point
Copy the full SHA edf378bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f09a016 - Browse repository at this point
Copy the full SHA f09a016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa4274 - Browse repository at this point
Copy the full SHA 9fa4274View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa61b88 - Browse repository at this point
Copy the full SHA aa61b88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e881749 - Browse repository at this point
Copy the full SHA e881749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a2256 - Browse repository at this point
Copy the full SHA 48a2256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cfcc30 - Browse repository at this point
Copy the full SHA 1cfcc30View commit details -
Configuration menu - View commit details
-
Copy full SHA for c233158 - Browse repository at this point
Copy the full SHA c233158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32090e0 - Browse repository at this point
Copy the full SHA 32090e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf62a15 - Browse repository at this point
Copy the full SHA bf62a15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e43f53a - Browse repository at this point
Copy the full SHA e43f53aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b764d - Browse repository at this point
Copy the full SHA 71b764dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4282caa - Browse repository at this point
Copy the full SHA 4282caaView commit details -
Improve caching behavior, fix tests
* Always use session cache as well * Also flush session cache when requested * Make KV metadata caching behavior configurable * Update tests to account for changes from prev commit
Configuration menu - View commit details
-
Copy full SHA for fd9b796 - Browse repository at this point
Copy the full SHA fd9b796View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0942e1 - Browse repository at this point
Copy the full SHA f0942e1View commit details -
Remove runner approle param overrides
There is no simple way to ensure they are kept.
Configuration menu - View commit details
-
Copy full SHA for 4a28ab3 - Browse repository at this point
Copy the full SHA 4a28ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ba07d - Browse repository at this point
Copy the full SHA 88ba07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78db0f1 - Browse repository at this point
Copy the full SHA 78db0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d00606 - Browse repository at this point
Copy the full SHA 4d00606View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b6884 - Browse repository at this point
Copy the full SHA b1b6884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d6e89f - Browse repository at this point
Copy the full SHA 4d6e89fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf16697 - Browse repository at this point
Copy the full SHA cf16697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e07c3 - Browse repository at this point
Copy the full SHA 52e07c3View commit details
Commits on Oct 5, 2022
-
Merge branch 'master' into approle-minions-vault
Thomas Phipps authoredOct 5, 2022 Configuration menu - View commit details
-
Copy full SHA for f4d0d50 - Browse repository at this point
Copy the full SHA f4d0d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b647d - Browse repository at this point
Copy the full SHA 72b647dView commit details
Commits on Oct 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c8d331 - Browse repository at this point
Copy the full SHA 8c8d331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07a3586 - Browse repository at this point
Copy the full SHA 07a3586View commit details -
Configuration menu - View commit details
-
Copy full SHA for db0706e - Browse repository at this point
Copy the full SHA db0706eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f31f1f - Browse repository at this point
Copy the full SHA 3f31f1fView commit details
Commits on Oct 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d3dc2e1 - Browse repository at this point
Copy the full SHA d3dc2e1View commit details
Commits on Oct 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 519ee59 - Browse repository at this point
Copy the full SHA 519ee59View commit details -
Configuration menu - View commit details
-
Copy full SHA for ced497b - Browse repository at this point
Copy the full SHA ced497bView commit details
Commits on Oct 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 363751a - Browse repository at this point
Copy the full SHA 363751aView commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d7bebb2 - Browse repository at this point
Copy the full SHA d7bebb2View commit details
Commits on Oct 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a7ed73e - Browse repository at this point
Copy the full SHA a7ed73eView commit details
Commits on Oct 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8f70487 - Browse repository at this point
Copy the full SHA 8f70487View commit details
Commits on Oct 20, 2022
-
Merge branch 'master' into approle-minions-vault
Thomas Phipps authoredOct 20, 2022 Configuration menu - View commit details
-
Copy full SHA for cd2369c - Browse repository at this point
Copy the full SHA cd2369cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc84901 - Browse repository at this point
Copy the full SHA cc84901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 297e687 - Browse repository at this point
Copy the full SHA 297e687View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e775a - Browse repository at this point
Copy the full SHA a7e775aView commit details
Commits on Nov 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cb97d83 - Browse repository at this point
Copy the full SHA cb97d83View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 47fee10 - Browse repository at this point
Copy the full SHA 47fee10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80a22f8 - Browse repository at this point
Copy the full SHA 80a22f8View commit details
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4bb7b46 - Browse repository at this point
Copy the full SHA 4bb7b46View commit details
Commits on Dec 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0e78728 - Browse repository at this point
Copy the full SHA 0e78728View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8568e45 - Browse repository at this point
Copy the full SHA 8568e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d6bae - Browse repository at this point
Copy the full SHA 78d6baeView commit details
Commits on Jan 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b7e94fd - Browse repository at this point
Copy the full SHA b7e94fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c318c32 - Browse repository at this point
Copy the full SHA c318c32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17fa4e2 - Browse repository at this point
Copy the full SHA 17fa4e2View commit details -
* assert what you get against what you expect * drop empty parentheses after wrapper * use `is` to compare against strictly boolean vars
Configuration menu - View commit details
-
Copy full SHA for ca8322f - Browse repository at this point
Copy the full SHA ca8322fView commit details
Commits on Jan 6, 2023
-
* during pillar rendering, they were always reset by the master (for AppRoles) * overrides were only respected for some settings (AppRoles) * old config syntax was using the old syntax internally (tech debt)
Configuration menu - View commit details
-
Copy full SHA for ad35e70 - Browse repository at this point
Copy the full SHA ad35e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1a8d42 - Browse repository at this point
Copy the full SHA e1a8d42View commit details -
Configuration menu - View commit details
-
Copy full SHA for f617a09 - Browse repository at this point
Copy the full SHA f617a09View commit details
Commits on Jan 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 88e30de - Browse repository at this point
Copy the full SHA 88e30deView commit details
Commits on Jan 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0f68834 - Browse repository at this point
Copy the full SHA 0f68834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83458fa - Browse repository at this point
Copy the full SHA 83458faView commit details
Commits on Jan 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 618a3e8 - Browse repository at this point
Copy the full SHA 618a3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e2fcb - Browse repository at this point
Copy the full SHA 95e2fcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e2772 - Browse repository at this point
Copy the full SHA 77e2772View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6d77b2 - Browse repository at this point
Copy the full SHA d6d77b2View commit details
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5633841 - Browse repository at this point
Copy the full SHA 5633841View commit details
Commits on Jan 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 55abe4e - Browse repository at this point
Copy the full SHA 55abe4eView commit details
Commits on Apr 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2af084d - Browse repository at this point
Copy the full SHA 2af084dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2f908c - Browse repository at this point
Copy the full SHA e2f908cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d37cc5 - Browse repository at this point
Copy the full SHA 1d37cc5View commit details -
Correct meta[data] payload key
For tokens it is `meta`, but for secret IDs, `metadata`.
Configuration menu - View commit details
-
Copy full SHA for 008d730 - Browse repository at this point
Copy the full SHA 008d730View commit details
Commits on Apr 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9f58c41 - Browse repository at this point
Copy the full SHA 9f58c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe512a - Browse repository at this point
Copy the full SHA 7fe512aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 520ef97 - Browse repository at this point
Copy the full SHA 520ef97View commit details
Commits on Apr 17, 2023
-
Always use unwrap_client config as expected server
This should fix the test failure in the runner integration test TestAppRoleIssuance::test_server_switch_does_not_break_minion_auth
Configuration menu - View commit details
-
Copy full SHA for dc0b617 - Browse repository at this point
Copy the full SHA dc0b617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 788a07a - Browse repository at this point
Copy the full SHA 788a07aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4da71 - Browse repository at this point
Copy the full SHA 6e4da71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f2e13c - Browse repository at this point
Copy the full SHA 4f2e13cView commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 69fef51 - Browse repository at this point
Copy the full SHA 69fef51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f7286 - Browse repository at this point
Copy the full SHA 60f7286View commit details
Commits on Apr 23, 2023
-
Revoke tokens, fire events, improve cache/exception handling
* Tokens (and therefore associated leases) are revoked when cleared by default * It's possible to disable clearing cache when a perfectly valid token is available, but a PermissionDeniedError is encountered. * UnwrapExceptions always cause an event to be fired * It's possible to enable sending of events when a) cache is cleared b) a lease is requested from cache, but it is/will be invalid * A VaultAuthException does not immediately lead to clearing the connection cache * get_authd_client and others: multiple small enhancements and fixes
Configuration menu - View commit details
-
Copy full SHA for 108a95c - Browse repository at this point
Copy the full SHA 108a95cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 439b330 - Browse repository at this point
Copy the full SHA 439b330View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35b0e1a - Browse repository at this point
Copy the full SHA 35b0e1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a86cfc7 - Browse repository at this point
Copy the full SHA a86cfc7View commit details
Commits on Apr 24, 2023
-
`is_valid_for` is present on all lease-like objects, while `is_valid` specifically should account for more, e.g. the number of uses. The Vault API does not return 404 when a lookup fails.
Configuration menu - View commit details
-
Copy full SHA for f5943ea - Browse repository at this point
Copy the full SHA f5943eaView commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5bb2de9 - Browse repository at this point
Copy the full SHA 5bb2de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15944a6 - Browse repository at this point
Copy the full SHA 15944a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a302dc - Browse repository at this point
Copy the full SHA 5a302dcView commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0310a82 - Browse repository at this point
Copy the full SHA 0310a82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f9773 - Browse repository at this point
Copy the full SHA 32f9773View commit details
Commits on May 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b77146 - Browse repository at this point
Copy the full SHA 0b77146View commit details -
Configuration menu - View commit details
-
Copy full SHA for e20c496 - Browse repository at this point
Copy the full SHA e20c496View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee39da - Browse repository at this point
Copy the full SHA 4ee39daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bd374 - Browse repository at this point
Copy the full SHA 60bd374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 753417d - Browse repository at this point
Copy the full SHA 753417dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 101c65d - Browse repository at this point
Copy the full SHA 101c65dView commit details
Commits on Jun 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 90750ce - Browse repository at this point
Copy the full SHA 90750ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e940419 - Browse repository at this point
Copy the full SHA e940419View commit details
Commits on Dec 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0182a00 - Browse repository at this point
Copy the full SHA 0182a00View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1903de - Browse repository at this point
Copy the full SHA e1903deView commit details -
In some cases, the `spec` calls were failing because the underlying object was already patched
Configuration menu - View commit details
-
Copy full SHA for f6f397c - Browse repository at this point
Copy the full SHA f6f397cView commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a0a7fce - Browse repository at this point
Copy the full SHA a0a7fceView commit details