Adding users to your Kubernetes cluster | Creating client certificate and key to provide users

Vivek Singh April 18, 2021
Video Thumbnail
Vivek Singh Logo

Vivek Singh

View Channel

About

Hey, My name is Vivek, I am Software Engineer working around Open Source and Cloud Native technologies around Kubernetes primarily using Go as programming language. In this channel I am going to create videos about Containers, Kubernetes, Go programming language and Software Engineering in general. In these videos I am planning to actually show you things by doing, instead of just talking about them; so that you would actually learn about them and can use them either at your work or as some other place.

Video Description

In this video we looked into the details of how we can generate certificate and key file to authenticate a user against a Kubernetes cluster. We looked into two ways to do that, generating they private key and CSR then manually signing that CSR using API Server's CA key and certificate file. And the other one where we created CertificateSigningRequest resource and approved it to generate certificate. Web: https://viveksingh.dev/ Twitter: 00:00 Introduction 00:25 Agenda 01:57 K8S doesn't have APIs to support users 03:32 Check if client certificate is supported 04:34 Creating client key and certificate 11:13 Two ways to generate client certificate 16:30 Adding created key and certificate file into kubeconfig 21:06 Authorise newly created user 26:45 Create CertificateSigningRequest to generate client certificate 35:16 Common name and group for user 35:38 Contents of authenticated request 36:41 Thank you, Like and Subscribe

You May Also Like

Essential Kubernetes Tools

AI-recommended products based on this video

Loading...
The Book. The Ultimate Guide to Rebuilding a Civilization - Inspirational Science Books for Adults - Unique Artifact - Knowledge Encyclopedia with Over 400 Pages of Detailed & Catchy Illustrations

The Book. The Ultimate Guide to Rebuilding a Civilization - Inspirational Science Books for Adults - Unique Artifact - Knowledge Encyclopedia with Over 400 Pages of Detailed & Catchy Illustrations

(1,924)
$170.00
FREE delivery Sat, Nov 22
Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

(0)
$30.99
FREE delivery Jun 19 - Jul 3
Loading...
Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men
Best Seller

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men

(243)
$19.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
Waxed Canvas Multi-Purpose Waterpoof Tool Organizer Bags, Portable Carry On Pouch with 1 Small Detachable Tool pouch and 1 Zipper Pockets, 23.5" X 10.5"|ArmyGreen

Waxed Canvas Multi-Purpose Waterpoof Tool Organizer Bags, Portable Carry On Pouch with 1 Small Detachable Tool pouch and 1 Zipper Pockets, 23.5" X 10.5"|ArmyGreen

(27)
$32.86$29.86
FREE delivery Mon, Aug 11 on your first order
Loading...
Soctone Telescoping Ladder A Frame 12.5 Ft Compact Aluminum Extension Ladder, Portable Telescopic RV Ladder for Camper Trips Motorhome with Tool Platform and Stabilizer Bar, 150 Kg Capacity

Soctone Telescoping Ladder A Frame 12.5 Ft Compact Aluminum Extension Ladder, Portable Telescopic RV Ladder for Camper Trips Motorhome with Tool Platform and Stabilizer Bar, 150 Kg Capacity

(14)
$170.99
Loading...
Soctone Telescoping Ladder A Frame, 16.5 Ft Compact Aluminum Extension Ladder, Telescopic RV Ladder for Camper Trips Motorhome with Tool Platform and Stabilizer Bar, 330 lb Capacity, Black

Soctone Telescoping Ladder A Frame, 16.5 Ft Compact Aluminum Extension Ladder, Telescopic RV Ladder for Camper Trips Motorhome with Tool Platform and Stabilizer Bar, 330 lb Capacity, Black

(523)
$199.49
50+ bought in past month
Loading...
ITOKEY EDC Multitool Small Pocket Knives with Clip Box Cutter with Can/Bottle Opener, Screwdriver, Wrench and Pry Tool, Work Kinfe Gifts for Men Women Dad Everyday Carry

ITOKEY EDC Multitool Small Pocket Knives with Clip Box Cutter with Can/Bottle Opener, Screwdriver, Wrench and Pry Tool, Work Kinfe Gifts for Men Women Dad Everyday Carry

(16)
$19.99
50+ bought in past month
Loading...
2 Pack 32GB USB Flash Drive, 2.0 USB Stick Thumb Drive,Waterproof Function with Lanyard USB Memory Stick for Data Storage and Backup, Black

2 Pack 32GB USB Flash Drive, 2.0 USB Stick Thumb Drive,Waterproof Function with Lanyard USB Memory Stick for Data Storage and Backup, Black

(332)
$15.19
FREE delivery Sat, Jun 14 on your first order
Loading...
32GB USB Flash Drive 3 Pack, RAOYI Mini USB Stick Bulk Thumb Drives Jump Drive Memory Stick Lanyard for Storage and Backup, Black

32GB USB Flash Drive 3 Pack, RAOYI Mini USB Stick Bulk Thumb Drives Jump Drive Memory Stick Lanyard for Storage and Backup, Black

(1,246)
$22.99
FREE delivery Sat, Jun 14 on your first order