Skip to content

Commit f309fd8

Browse files
authored
Creating README.md file
1 parent f51241b commit f309fd8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EksAuth
2+
3+
In this project, we are making API request to EKS cluster with information provided in kubeconfig file and AWS credentials using aws-iam-authenticator.
4+
5+
Needed variables:
6+
1. certificateAuthorityDataFile: This file contains certificate data which is stored as base64 in kubeconfig file as variable certificate-authority-data.
7+
2. clusterName: Name of cluster
8+
3. clusterServerUrl: Cluster server url to make request to server
9+
4. AWS details: Need aws access key, secret and region to authenticate with help of aws-iam-authenticator to authenticate with EKS cluster
10+
5. clusterId: This is unique cluster identifier. Detail: https://github.com/kubernetes-sigs/aws-iam-authenticator#what-is-a-cluster-id
11+
12+
Once all information is updated in main.go, command to run main.go file:
13+
14+
```
15+
go run main.go
16+
```

0 commit comments

Comments
 (0)