Comments (5)
Thanks for the feature request, we are working on a feature to make this smoother
from lens.
AWS SSO gives you temporary credentials so you need to re-authenticate every time your session expires, that's expected
You can get the same response while using the kubectl, that's how it works
from lens.
You can start Lens wherever you want but you need to get those AWS credentials through the authentication process at first
from lens.
Using aws-sso-util and a default profile set up like
[default]
region = us-east-1
sso_start_url = https://our-login.awsapps.com/start
sso_region = us-east-1
sso_account_name = Pulse Platform
sso_account_id = 11111111111
sso_role_name = DevOps-Admin
Has worked fine with our engineers for a long time with Lens to access hundreds of clusters in many accounts.
from lens.
As temporary solution, you can use this workaround in your kube config:
- name: arn:aws:eks:eu-central-1:**************:cluster/eks-stage-01
user:
exec:
apiVersion: client.authentication.k8s.io/v1beta1
args:
- -c
- "aws --profile $AWS_PROFILE eks list-clusters > /dev/null 2>&1 || aws --profile $AWS_PROFILE sso login > /dev/null 2>&1; aws --profile $AWS_PROFILE --region eu-central-1 eks get-token --cluster-name eks-stage-01 --output json"
command: sh
env:
- name: AWS_PROFILE
value: sso
from lens.
Related Issues (20)
- Please revert the changes to search HOT 3
- Add confirmation dialog for delete namespace
- Set the Default helm chart version when upgrading chart to the current version.
- What happened to Open Lens? HOT 1
- Lens Desktop: Error handling on "Create resource" is broken HOT 1
- Trying to Build v2024.1.300751-latest
- Can't exit from full screen mode on macOS HOT 3
- Helm Values form discards variables with value "null"
- Cannot login to MacOs app HOT 5
- Lens error after fresh install on Windows HOT 4
- Resource Viewing/Editing
- Node network metrics unavailable, but all other metrics are HOT 1
- Improve auto-detection when multiple Prometheus instances are installed HOT 2
- Resource Content Not Visible as Text
- Add pod limits show to lens HOT 8
- Lens 2024 port forwarding broken on Windows HOT 2
- App Crash when opening details on Knative Service HOT 2
- Terminal in connecting... HOT 1
- Unable to Install Extension - Starboard from AquaSecurity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lens.