Files
helm-charts-hardened/examples/aws-iid/README.md
T
Eric Cavalcanti 57a61438be Add aws_iid to helm chart (#620)
* Add aws_iid

Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIid

Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIid

Signed-off-by: Eric Cavalcanti <[email protected]>

* update helm

Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>

* add signed off

Signed-off-by: Eric Cavalcanti <[email protected]>

* Add doc

Signed-off-by: Eric Cavalcanti <[email protected]>

* remove not used config

Signed-off-by: Eric Cavalcanti <[email protected]>

* remove not used config

Signed-off-by: Eric Cavalcanti <[email protected]>

* add example awsiid

Signed-off-by: Eric Cavalcanti <[email protected]>

---------

Signed-off-by: Eric Cavalcanti <[email protected]>
Signed-off-by: Eric Cavalcanti <[email protected]>
2025-07-10 22:27:07 +00:00

3.0 KiB
Raw Blame History

AWS IID Node Attestor

This document provides a concise guide to the AWS IID node attestor plugin support in your system. The AWS IID attestor plugin automatically verifies instances using AWS's Instance Metadata API and Instance Identity Document.

Configuration

The AWS IID node attestor can be configured with the following properties:

Parameter Description Default
nodeAttestor.awsIID.enabled Enable the AWS IID node attestor false
nodeAttestor.awsIID.region AWS region to use for the attestation ""
nodeAttestor.awsIID.assumeRole AWS IAM Role NAME to use for the attestation ""

Sample Configuration

Here's a minimal configuration example for the server:

awsIID:
  enabled: true
  region: "us-west-2"  # Specify your desired AWS region
  assumeRole: "example-role"  # Specify the IAM Role NAME

For the agent, ensure that the awsIID is also enabled:

awsIID:
  enabled: true

Note: When the awsIID node attestor is enabled on the server, it must also be enabled on the agent to ensure proper attestation.

IAM Role

The assumeRole parameter requires the name of the IAM Role you wish to use for the attestation process. Ensure this role has the appropriate permissions.

Required IAM Policy

To facilitate the node attestation, the following IAM policy example should be attached to the IAM Role mentioned in the assumeRole. This policy example is needed to get the instance's info from AWS:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ec2:DescribeInstances",
                "iam:GetInstanceProfile"
            ],
            "Resource": "*"
        }
    ]
}

Security Considerations

It’s important to note that while the AWS Instance Identity Document is used to prove node identity, it is accessible to any process running on the instance. Therefore, precautions should be made to ensure only the desired agent uses it for attestation.

Always monitor your systems for unauthorized access attempts and ensure your IAM roles follow the principle of least privilege.

For more information on AWS IAM roles and security best practices, refer to the AWS IAM documentation.

Additional Information

For more information on the server plugin, see the Server Plugin Documentation.

And for the agent, see the Agent Plugin Documentation.


By following the above guidelines, you can ensure a simple yet secure implementation of the AWS IID node attestor within your system.