Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
yaegashi
210 views
msgraph-sshpubkey
第三十七回Azureもくもく会@品川
Technology
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 8
2
/ 8
3
/ 8
4
/ 8
5
/ 8
6
/ 8
7
/ 8
8
/ 8
More Related Content
PDF
アカツキはどのようにAWSを活用しているか #jawsug
by
aktsk
PDF
JTF2020 クロスコンパイルだけが能ではない組み込みLinuxシステムのCI/CDインフラ構築
by
yaegashi
PPTX
Goで作って配布するAzureコマンドラインユーティリティ
by
yaegashi
PDF
msgraph: Terraform provider for Microsoft Graph
by
yaegashi
PDF
Terraforming Windows Virtual Desktop Infrastructure on Azure
by
yaegashi
PDF
Customazed CLI: カスタムVMイメージ作成支援ツール
by
yaegashi
PPTX
NoOps Japanサイトの紹介
by
Igarashi Toru
PDF
すぐにでも使える Windows Virtual Desktop
by
Tsukasa Kato
アカツキはどのようにAWSを活用しているか #jawsug
by
aktsk
JTF2020 クロスコンパイルだけが能ではない組み込みLinuxシステムのCI/CDインフラ構築
by
yaegashi
Goで作って配布するAzureコマンドラインユーティリティ
by
yaegashi
msgraph: Terraform provider for Microsoft Graph
by
yaegashi
Terraforming Windows Virtual Desktop Infrastructure on Azure
by
yaegashi
Customazed CLI: カスタムVMイメージ作成支援ツール
by
yaegashi
NoOps Japanサイトの紹介
by
Igarashi Toru
すぐにでも使える Windows Virtual Desktop
by
Tsukasa Kato
What's hot
PDF
【Unite 2017 Tokyo】WebGL:ゲームプラットフォームとしてのWebと現在と未来
by
Unite2017Tokyo
PDF
Dockerで楽しむ自宅サーバ
by
祐磨 堀
PDF
Node-RED on SAKURA cloud
by
Kazumi OHIRA
PDF
LocalStack
by
chibochibo
PDF
Azure DevOps で実現する Unity アプリのハイパフォーマンス CI/CD
by
yaegashi
PDF
GR-CITRUSハンズオン
by
三七男 山本
PDF
一番簡単なWebSocketの試し方
by
Shunji Konishi
PPTX
CCCEU Feedback
by
Go Chiba
PDF
Next30 wg 2
by
harunobu
PPTX
KubernetesでGPUクラスタを管理したい
by
Yuji Oshima
PDF
FirebaseとNuxtでLPを作って見た
by
Kenjiro Kubota
PDF
マイクロソフトの提供するMA6向けAPIのご紹介
by
Sunao Tomita
PDF
Windows AzureでWebサーバーを再発明してみる
by
Sunao Tomita
PDF
Capistrano紹介 at kawasaki.rb #002 #kwskrb
by
Tsubasa Yumura
PPTX
Shiva 〜Nextremerをscale upする機械学習環境〜
by
Kazuki Morozumi
PDF
Node red basic & node-red-ug-japan
by
Harada Kazuki
PDF
Dokku の紹介
by
Kazuhiro Nishiyama
PPTX
JAWS-UG HPC #0 LT資料
by
Daisuke Nagao
PDF
Eureka go 2015_12_12
by
matsuo kenji
PPTX
EC2に対するcloudwatchのアクション設定がポリシーで使えないときの代替策
by
Daisuke Nagao
【Unite 2017 Tokyo】WebGL:ゲームプラットフォームとしてのWebと現在と未来
by
Unite2017Tokyo
Dockerで楽しむ自宅サーバ
by
祐磨 堀
Node-RED on SAKURA cloud
by
Kazumi OHIRA
LocalStack
by
chibochibo
Azure DevOps で実現する Unity アプリのハイパフォーマンス CI/CD
by
yaegashi
GR-CITRUSハンズオン
by
三七男 山本
一番簡単なWebSocketの試し方
by
Shunji Konishi
CCCEU Feedback
by
Go Chiba
Next30 wg 2
by
harunobu
KubernetesでGPUクラスタを管理したい
by
Yuji Oshima
FirebaseとNuxtでLPを作って見た
by
Kenjiro Kubota
マイクロソフトの提供するMA6向けAPIのご紹介
by
Sunao Tomita
Windows AzureでWebサーバーを再発明してみる
by
Sunao Tomita
Capistrano紹介 at kawasaki.rb #002 #kwskrb
by
Tsubasa Yumura
Shiva 〜Nextremerをscale upする機械学習環境〜
by
Kazuki Morozumi
Node red basic & node-red-ug-japan
by
Harada Kazuki
Dokku の紹介
by
Kazuhiro Nishiyama
JAWS-UG HPC #0 LT資料
by
Daisuke Nagao
Eureka go 2015_12_12
by
matsuo kenji
EC2に対するcloudwatchのアクション設定がポリシーで使えないときの代替策
by
Daisuke Nagao
More from yaegashi
PDF
Microsoft Graph API Library for Go
by
yaegashi
PPTX
msgraph.go: Go言語で Microsoft Graph プログラミング
by
yaegashi
PDF
go generate 完全入門
by
yaegashi
PDF
Raspberry Pi + Go で IoT した話
by
yaegashi
PDF
golang binary hacks
by
yaegashi
PDF
Ansible モジュール 作成・配布・貢献
by
yaegashi
PDF
AnsibleでAzureの インフラを管理する話 + α
by
yaegashi
PDF
StackExchangeで見たシステムプログラミング案件
by
yaegashi
Microsoft Graph API Library for Go
by
yaegashi
msgraph.go: Go言語で Microsoft Graph プログラミング
by
yaegashi
go generate 完全入門
by
yaegashi
Raspberry Pi + Go で IoT した話
by
yaegashi
golang binary hacks
by
yaegashi
Ansible モジュール 作成・配布・貢献
by
yaegashi
AnsibleでAzureの インフラを管理する話 + α
by
yaegashi
StackExchangeで見たシステムプログラミング案件
by
yaegashi
Recently uploaded
PDF
第21回 Gen AI 勉強会「NotebookLMで60ページ超の スライドを作成してみた」
by
嶋 是一 (Yoshikazu SHIMA)
PDF
アジャイル導入が止まる3つの壁 ─ 文化・他部門・組織プロセスをどう乗り越えるか
by
Graat(グラーツ)
PDF
20260119_VIoTLT_vol22_kitazaki_v1___.pdf
by
Ayachika Kitazaki
PDF
Starlink Direct-to-Cell (D2C) 技術の概要と将来の展望
by
CRI Japan, Inc.
PDF
ST2024_PM1_2_Case_study_of_local_newspaper_company.pdf
by
akipii ogaoga
PDF
Team Topology Adaptive Organizational Design for Rapid Delivery of Valuable S...
by
akipii ogaoga
PDF
100年後の知財業界-生成AIスライドアドリブプレゼン イーパテントYouTube配信
by
e-Patent Co., Ltd.
PDF
FY2025 IT Strategist Afternoon I Question-1 Balanced Scorecard
by
akipii ogaoga
PDF
Reiwa 7 IT Strategist Afternoon I Question-1 3C Analysis
by
akipii ogaoga
PDF
Reiwa 7 IT Strategist Afternoon I Question-1 Ansoff's Growth Vector
by
akipii ogaoga
第21回 Gen AI 勉強会「NotebookLMで60ページ超の スライドを作成してみた」
by
嶋 是一 (Yoshikazu SHIMA)
アジャイル導入が止まる3つの壁 ─ 文化・他部門・組織プロセスをどう乗り越えるか
by
Graat(グラーツ)
20260119_VIoTLT_vol22_kitazaki_v1___.pdf
by
Ayachika Kitazaki
Starlink Direct-to-Cell (D2C) 技術の概要と将来の展望
by
CRI Japan, Inc.
ST2024_PM1_2_Case_study_of_local_newspaper_company.pdf
by
akipii ogaoga
Team Topology Adaptive Organizational Design for Rapid Delivery of Valuable S...
by
akipii ogaoga
100年後の知財業界-生成AIスライドアドリブプレゼン イーパテントYouTube配信
by
e-Patent Co., Ltd.
FY2025 IT Strategist Afternoon I Question-1 Balanced Scorecard
by
akipii ogaoga
Reiwa 7 IT Strategist Afternoon I Question-1 3C Analysis
by
akipii ogaoga
Reiwa 7 IT Strategist Afternoon I Question-1 Ansoff's Growth Vector
by
akipii ogaoga
msgraph-sshpubkey
1.
msgraph-sshpubkey 2019-11-09 Takeshi Yaegashi 第三十七回Azureもくもく会@品川
2.
自己紹介 八重樫 剛史 Takeshi
Yaegashi ● 株式会社バンダイナムコスタジオ所属 ● Linux・Unix・OSS・低レベルなことが好きなエンジニア ● ホームページ・ブログ https://l0w.dev ● 最近の仕事 ○ Raspberry Pi を使った IoT 案件 (Go) ○ スマホゲームアプリのサーバ (Go) ○ Azureによる開発者向けインフラ構築 (Python, Ansible, etc.) ● 最近の登壇 ○ Microsoft de:code 2019「DT01 ゲームメーカー目線でAzureを(略)」 ○ Go Conference 2019 Autumn「Microsoft Graph API Library for Go」
3.
msgraph.go ● Microsoft Graph
Client Library for Go https://github.com/yaegashi/msgraph.go ● Microsoft Graph の各種リソースをGo言語で操作できるライブラリ ○ Azure Active Directory: User, Group, ... ○ Office 365: OneDrive, SharePoint, Outlook, Teams, Excel Workbook, ... ● 様々なGo製インフラツールをMicrosoft Graph対応にできるかもしれない ○ oauth2_proxy, traefik, ... ○ HashiCorp Terraform,Vault, Consul, Packer, …
4.
msgraph.go アプリの例:msgraph-sshpubkey ● https://github.com/yaegashi/msgraph.go/tree/master/cmd/msgraph-sshpubkey ●
SSH 公開鍵を Azure AD に登録して Linux VM ログインの認証に利用できる ● 必要なものは 5.6MB の実行ファイルと設定ファイルのみ、導入が容易 /etc/ssh/sshd_config: AuthorizedKeysCommand /usr/bin/msgraph-sshpubkey -config /etc/msgraph-sshpubkey.json -login %u AuthorizedKeysCommandUser root /etc/msgraph-sshpubkey.json: { "tenant_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "client_id": "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY", "client_secret": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ", "login_map": { "yaegashi": "
[email protected]
" } }
5.
背景:Azure Linux VM
のユーザー認証・認可 ● Windows VM と比較して、認証統合機能が弱い ● Azure Active Directory 認証を使用してAzure の Linux 仮想マシンにログインする https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/login-using-aad ● ユーザー名がUPNになる
[email protected]
● ソースコードが 公開されていない? ● どうも使いづらい (コレジャナイ感) ● VMのRBACでアクセス 制御できるのはよい Package: aadlogin Status: install ok installed Priority: extra Section: default Installed-Size: 686 Maintainer: Azure AD <
[email protected]
> Architecture: amd64 Version: 1.0.009820001 Depends: uuid-runtime, libcurl4 Conffiles: /etc/sudoers.d/aad_admins 108feed92ff2287593d22b83206b82ea Description: AAD NSS and PAM extensions License: MIT Vendor: Microsoft Homepage: https://azure.com
6.
背景:Azure Linux VM
に自分がほしい機能 ● ユーザーログインの認証、SSH 公開鍵の管理 ○ ユーザーの SSH 公開鍵を Azure AD で管理できる ○ VM ログインに Azure AD に登録した SSH 公開鍵が利用できる ○ ユーザーは自分の SSH 公開鍵の管理が Web や CLI で簡単にできる ● ユーザーログインのアクセス認可 ○ Azure AD のグループによるアクセス認可 ○ Linux VM RBAC 設定によるアクセス認可 ● 類似のソフトウェア http://linyo.ws/octopass ○ GitHub のユーザー・組織情報を利用する
7.
msgraph-sshpubkey もくもく進捗 ● 今日できたこと ○
WIP: ユーザーが自分の SSH 公開鍵を管理できる Web アプリの開発 ■ React フロントエンドと Go バックエンド、CLIの雛形作成 ○ msgraph-sshpubkey リポジトリの公開 https://github.com/yaegashi/msgraph-sshpubkey ● 次にやりたいこと ○ CLI と Web アプリの完成 ○ Azure AD グループや RBAC などを利用した認可機能
8.
おわり
Download