-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from micahhausler/iam-authenticator-update
Updated aws-iam-authenticator model
- Loading branch information
Showing
9 changed files
with
110 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
digraph "API traffic" { | ||
color=blue rankdir=LR | ||
node [fontname=Arial fontsize=14] | ||
"AWS IAM" | ||
subgraph "cluster_User Machine" { | ||
graph [color=red fontname=Arial fontsize=12 label="User Machine" line=dotted] | ||
kubectl | ||
} | ||
subgraph "cluster_EKS Cluster" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Cluster" line=dotted] | ||
"k8s api" | ||
subgraph "cluster_AWS Cloud" { | ||
graph [color=red fontname=Arial fontsize=12 label="AWS Cloud" line=dotted] | ||
"AWS STS" | ||
subgraph "cluster_EKS Cluster" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Cluster" line=dotted] | ||
"Kubernetes API" | ||
"aws-iam-authenticator" | ||
} | ||
} | ||
subgraph "cluster_EKS Data Plane" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Data Plane" line=dotted] | ||
"aws-iam-authenticator" | ||
"aws-auth" | ||
} | ||
kubectl -> "k8s api" [label="(1) STS token in HTTP header"] | ||
"k8s api" -> "aws-iam-authenticator" [label="(2) STS Request from token"] | ||
"aws-iam-authenticator" -> "AWS IAM" [label="(3) STS Request"] | ||
"AWS IAM" -> "aws-iam-authenticator" [label="(4) ?"] | ||
"aws-iam-authenticator" -> "aws-auth" [label="(5) Config Map"] | ||
"aws-iam-authenticator" -> "k8s api" [label="(6) Read Mapped usernames"] | ||
"k8s api" -> "aws-iam-authenticator" [label="(7) Config Map"] | ||
kubectl -> "Kubernetes API" [label="(1) pre-signed URL as Bearer Token HTTP Header"] | ||
"Kubernetes API" -> "aws-iam-authenticator" [label="(2) TokenReview request with pre-signed URL"] | ||
"aws-iam-authenticator" -> "AWS STS" [label="(3) sts:GetCallerIdentity request"] | ||
"AWS STS" -> "aws-iam-authenticator" [label="(4) sts:GetCallerIdentity response"] | ||
"aws-iam-authenticator" -> "Kubernetes API" [label="(5) TokenReview response with username"] | ||
"aws-iam-authenticator" -> "Kubernetes API" [label="(6) Async Watch mapped aws-auth ConfigMap "] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
digraph "Aggregated DFD" { | ||
edge [dir=forward] | ||
digraph all { | ||
color=blue rankdir=LR | ||
node [fontname=Arial fontsize=14] | ||
"AWS IAM" | ||
subgraph "cluster_User Machine" { | ||
graph [color=red fontname=Arial fontsize=12 label="User Machine" line=dotted] | ||
kubectl | ||
"aws-cli" | ||
} | ||
subgraph "cluster_EKS Cluster" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Cluster" line=dotted] | ||
"k8s api" | ||
subgraph "cluster_AWS Cloud" { | ||
graph [color=red fontname=Arial fontsize=12 label="AWS Cloud" line=dotted] | ||
"AWS STS" | ||
subgraph "cluster_EKS Cluster" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Cluster" line=dotted] | ||
"Kubernetes API" | ||
"aws-iam-authenticator" | ||
} | ||
} | ||
subgraph "cluster_EKS Data Plane" { | ||
graph [color=red fontname=Arial fontsize=12 label="EKS Data Plane" line=dotted] | ||
"aws-iam-authenticator" | ||
"aws-auth" | ||
} | ||
kubectl -> "aws-cli" | ||
"aws-cli" -> "aws-cli" | ||
kubectl -> "k8s api" | ||
"k8s api" -> "aws-iam-authenticator" | ||
"aws-iam-authenticator" -> "AWS IAM" | ||
"aws-iam-authenticator" -> "aws-auth" | ||
kubectl -> "aws-cli" [dir=both] | ||
"aws-cli" -> "aws-cli" [dir=forward] | ||
kubectl -> "Kubernetes API" [dir=forward] | ||
"Kubernetes API" -> "aws-iam-authenticator" [dir=both] | ||
"aws-iam-authenticator" -> "AWS STS" [dir=both] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2.16 KB
(92%)
examples/aws-iam-authenticator/kubectl gets pre-signed URL-dfd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters