question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Impersonation support

See original GitHub issue

Does the Python client support User Impersonation[1]? I have been able to achieve it by setting the default headers with header_name and header_value on kubernetes.client.ApiClient but that doesn’t seem like the best way to do this.

[1] https://kubernetes.io/docs/admin/authentication/#user-impersonation

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
kinclcommented, Nov 30, 2019

@sniranjan yes but only through the mechanism I mentioned in my initial message:

from kubernetes import client as kclient
kclient.ApiClient(header_name='Impersonate-User', header_value='impersonated-user-name')

Not ideal, but it did meet my needs.

1reaction
fejta-botcommented, Jun 21, 2019

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 3 Safe and Reliable Ways to Handle User Impersonation ...
Customer support is no different. In the early days, it's quite common to have the entire team handle customer inquiries without a proper ......
Read more >
Impersonation policy - YouTube Help
If you feel that yours or another creator's channel is being impersonated, you can report the channel by following the instructions here. What...
Read more >
Impersonation - Twitter Help Center
An account is impersonating me or somebody else. Please tell us more (required). An account is pretending to be me · An account...
Read more >
Impersonation Accounts - Instagram Help Center
Report an account that's impersonating you on Instagram.
Read more >
Managing service account impersonation - IAM - Google Cloud
Enter your principal's email address. Select a role that allows the principal to impersonate service accounts. See the list of roles for impersonating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found