Authentication and Authorization

Authentication and authorization support for Portefaix in AWS

This section shows the how to setup Portefaix with authentication and authorization support in Amazon Webservices (AWS)

Configure AWS

❯ . ./portefaix.sh aws
[ Portefaix ]
Setup credentials
Done

Bastion

You would use the AWS System Manager plugin to connect to EC2 and EKS instances:

❯ aws ec2 describe-instances --output table
-------------------
|DescribeInstances|
+-----------------+

❯ aws ssm start-session --target i-019042b3847f5c81f
Starting session with SessionId: portefaix-admin-031b2ba6d981142b0

Configure kubectl

❯ make kubernetes-credentials CLOUD=aws ENV=staging
❯ kubectl get nodes
NAME                                        STATUS   ROLES    AGE    VERSION
ip-10-0-31-216.eu-west-3.compute.internal   Ready    <none>   101m   v1.18.9-eks-d1db3c
ip-10-0-40-203.eu-west-3.compute.internal   Ready    <none>   101m   v1.18.9-eks-d1db3c

Last modified February 23, 2024: feat(hugo): refactoring to fresh Hugo (cf7d6fc)