File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
enos/modules/verify_secrets_engines/modules Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,16 @@ data "aws_caller_identity" "current" {}
76
76
77
77
data "aws_region" "current" {}
78
78
79
- # Using Pre-made policy and role
79
+ # The "DemoUser" policy is a predefined policy created by the security team.
80
+ # This policy grants the necessary AWS permissions required for role generation via Vault.
81
+ # Reference: https://github.com/hashicorp/honeybee-templates/blob/main/templates/iam_policy/DemoUser.yaml
80
82
data "aws_iam_policy" "premade_demo_user_policy" {
81
83
name = " DemoUser"
82
84
}
83
85
86
+ # This role was provisioned by the security team using the repository referenced below.
87
+ # This role includes the necessary policies to enable AWS credential generation and rotation via Vault.
88
+ # Reference: https://github.com/hashicorp/honeybee-templates/blob/main/templates/iam_role/vault-assumed-role-credentials-demo.yaml
84
89
data "aws_iam_role" "premade_demo_assumed_role" {
85
90
name = " vault-assumed-role-credentials-demo"
86
91
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ variable "verify_aws_engine_creds" {
42
42
type = bool
43
43
}
44
44
45
- # Verify PKI Certificate
45
+ # Verify AWS Engine
46
46
resource "enos_remote_exec" "aws_verify_new_creds" {
47
47
for_each = var. hosts
48
48
You can’t perform that action at this time.
0 commit comments