Skip to content

Add support for IMDSv2 on EC2 instances #865

Closed
@brantg

Description

@brantg

When using NiFi (which uses Spring Vault 3.1.0 under the hood) on an EC2 instance with IMDSv2 set to 'Required', we get the error message "Cannot obtain Identity Document from http://169.254.169.254/latest/dynamic/instance-identity/document".

If we toggle IMDSv2 on the EC2 instance to 'Optional', the error does not appear.

Reviewing the latest version of Spring Vault, it seems to me that this would still be the case with 3.1.1.

We raised the issue with NiFi and they advised us to raise it instead as an issue with Spring Vault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions