vault/sdk/logical
Ellie cccfdb088f
reduce calls to DetermineRoleFromLoginRequest from 3 to 1 for aws auth method (#22583)
* reduce calls to DetermineRoleFromLoginRequest from 3 to 1 for aws auth method

* change ordering of LoginCreateToken args

* replace another determineRoleFromLoginRequest function with role from context

* add changelog

* Check for role in context if not there make call to DeteremineRoleFromLoginRequest

* move context role check below nanmespace check

* Update changelog/22583.txt

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* revert signature to same order

* make sure resp is last argument

* retrieve role from context closer to where role variable is needed

* remove failsafe for role in mfa login

* Update changelog/22583.txt

---------

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-08-28 16:01:07 -05:00
..
acme_billing.go Start counting ACME certificate issuance as client activity (#20520) 2023-05-17 16:12:04 +00:00
audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth.go add ns path to granting_policies (#20522) 2023-05-04 15:08:22 -07:00
connection.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
controlgroup.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
error.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
event.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
event.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
events_test.go events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
events.go events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
identity.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
identity.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
lease_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_storage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
managed_key.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
plugin.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00
request.go reduce calls to DetermineRoleFromLoginRequest from 3 to 1 for aws auth method (#22583) 2023-08-28 16:01:07 -05:00
response_util_test.go Add support for HEAD operations (#19520) 2023-03-21 18:37:17 -04:00
response_util.go report intermediate error messages during request forwarding (#20643) 2023-05-18 05:07:54 -07:00
response.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_inmem_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_inmem.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_view.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
system_view.go Vault 18005 plugin api lock status (#21925) 2023-07-31 12:58:20 -04:00
testing.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
translate_response.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_grpc.pb.go Add plugin version to GRPC interface (#17088) 2022-09-15 16:37:59 -07:00
version.pb.go Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
version.proto Migrate protobuf generation to Buf (#22099) 2023-07-31 18:44:56 +00:00