Git访问TFS出现权限不足(Using Personal Access Tokens to access Visual Studio Online)
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Git访问TFS出现权限不足(Using Personal Access Tokens to access Visual Studio Online),小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1737字,纯文字阅读大概需要3分钟。
内容图文
‘https://***.visualstudio.com/***Project/_git/***/‘解决办法:
原文请查看(https://roadtoalm.com/2015/07/22/using-personal-access-tokens-to-access-visual-studio-online/)
People who use Visual Studio Online for a while are probably familiar with the alternate credentials. These are used when accessing the REST API or when using an external client for accessing your Git repositories.
You configure your alternate credentials on your [My Profile] page and fill a username and password of your choice.
Once you enable your credentials, you can use these credentials when doing a REST call or (easier to test) clone a Git repository
This is great but not the most secure way of doing things.
Personal Access Tokens
In the update of July 7th, we now have the ability to use Personal Access Tokens as an alternative to the Alternate Credentials. Instead of sending our username and password over the wire we an now use a secure token that we can scope to a timeframe and to functionality within VSO. On the [My Profile] page you can configure one or more Personal Access Tokens. For example a token to access Code Features.
When you create the token, you see a token (only visible after creation !) that you should copy and keep safe.
This token alone is sufficient to authenticate against VSO. So when you now clone a Git repository you only have to fill in this token in the password box. Username can be empty or any value
The great thing is that you can revoke rights or the token afterwards and make sure that people cannot access stuff anymore.
Hope this helps!
Git访问TFS出现权限不足(Using Personal Access Tokens to access Visual Studio Online)
标签:
本文系统来源:http://www.cnblogs.com/whai/p/5563050.html
内容总结
以上是互联网集市为您收集整理的Git访问TFS出现权限不足(Using Personal Access Tokens to access Visual Studio Online)全部内容,希望文章能够帮你解决Git访问TFS出现权限不足(Using Personal Access Tokens to access Visual Studio Online)所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。