Add support for IMDSv2 on EC2 instances.

Closes gh-865
This commit is contained in:
Mark Paluch
2024-06-06 09:51:58 +02:00
parent 3cf4e01f84
commit dac9e36c37
8 changed files with 330 additions and 30 deletions

View File

@@ -306,6 +306,9 @@ further investigation.
The nonce is kept in memory and is lost during application restart.
Since Spring Vault 3.2, AWS-EC2 authentication supports request/response
(IMDSv1) metadata retrieval and the session-based variant (IMDSv2).
AWS-EC2 authentication roles are optional and default to the AMI.
You can configure the authentication role by setting
it in `AwsEc2AuthenticationOptions`.