18. 18
(参考)Pro PowerShell for Amazon Web
Services: DevOps for the AWS Cloud
• Create, manage, and terminate Windows
servers in the cloud
• Manage storage options including backup and
recovery
• Configure a virtual network including subnets
and route tables
• Secure your servers using security groups and
access control lists
• Use Auto Scaling to respond to changing
conditions
• Deploy SQL Server using Relational Database
Service
• Use Simple Storage Service (S3) to reliably store
and archive data
• Control access to resources using Identity and
Access Management (IAM)
https://www.amazon.co.jp/Pro-PowerShell-Amazon-Web-Services-ebook/dp/B00HG2CQ3O/
22. 22
AWS Tools for Windows PowerShellユーザーの
フェデレーションをサポート
• Set-‐‑‒AWSSamlEndpointとSet-‐‑‒AWSSamlRoleProfileを使
⽤用してADFSによるフェデレーションを設定可能
https://blogs.aws.amazon.com/net/post/Tx2PI5SQTDMAHQR/New-Support-for-Federated-Users-in-the-AWS-
Tools-for-Windows-PowerShell
2015年年12⽉月
# first configure the endpoint that one or more role profiles will reference by name
$endpoint = "https://adfs.example.com/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices"
Set-‐‑‒AWSSamlEndpoint -‐‑‒Endpoint $endpoint -‐‑‒StoreAs "endpointname"
# if the principal and role ARN data of a role is known, it can be specified directly
$params = @{
"PrincipalARN"="arn:aws:iam::012345678912:saml-‐‑‒provider/ADFS"
"RoleARN"="arn:aws:iam::012345678912:role/ADFS-‐‑‒Dev"
}
Set-‐‑‒AWSSamlRoleProfile -‐‑‒EndpointName "endpointname" -‐‑‒StoreAs "ADFS-‐‑‒Dev" @params