<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>authentication on Yullin Blog 运维 生活</title>
    <link>//yull.in/tags/authentication.html</link>
    <description>Recent content in authentication on Yullin Blog 运维 生活</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 13 Jan 2022 00:00:00 +0000</lastBuildDate><atom:link href="//yull.in/tags/authentication/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>etcd添加用户验证</title>
      <link>//yull.in/2022/01/etcd-user-authentication.html</link>
      <pubDate>Thu, 13 Jan 2022 00:00:00 +0000</pubDate>
      
      <guid>//yull.in/2022/01/etcd-user-authentication.html</guid>
      <description>etcd集群在默认情况下是没有安全验证的，如果存储了机密信息的话，则需要为其添加账号密码验证。这里记录一下具体的添加过程。
添加root用户 etcdctl user add root
添加root角色 etcdctl role add root
关联用户与角色 #etcdctl user grant-role username rolename etcdctl user grant-role root root
如果要取消关联 #etcdctl user revoke-role username rolename etcdctl user revoke-role root root</description>
    </item>
    
  </channel>
</rss>
