-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Copy to Clipboard" to the "Copy login command" page #28807
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
On the "Copy login command" there are serveral token to authenticate against OpenShift.
Your API token is
sha256~123456789abcdefghijklmonABCDEFGHIJKLMNOPQRS
Log in with this token
oc login --token=sha256~123456789abcdefghijklmonABCDEFGHIJKLMNOPQRS --server=https://api.server.com
Use this token directly against the API
curl -H "Authorization: Bearer sha256~123456789abcdefghijklmonABCDEFGHIJKLMNOPQRS" "https://api.server.com/apis/user.openshift.io/v1/users/ ~"
Every single user has to click on that, select it and copy to clipboard. There should be a "Copy to Clipboard" button near every token to make it easier to do just that.
The text was updated successfully, but these errors were encountered: