Commit aa529ca4 authored by nimrod's avatar nimrod
Browse files

Add SchooLinks AWS SSO.

parent 70a33f79
Loading
Loading
Loading
Loading

.aws/config

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
# vim: ft=cfg
[profile shore]
region = us-east-1

[profile schoolinks]
region = us-east-1

.aws/config.j2

0 → 100644
+14 −0
Original line number Diff line number Diff line
# vim: ft=cfg
[profile shore]
region = us-east-1

[profile schoolinks]
region = us-east-1
sso_session = schoolinks
sso_account_id = {{ run(["ph", "show", "--field", "Account ID", "SchooLinks/AWS SSO"])["stdout"] }}
sso_role_name = AdministratorAccess

[sso-session schoolinks]
sso_start_url = https://schoolinks-sso.awsapps.com/start
sso_region = us-east-1
sso_registration_scopes = sso:account:access
+0 −4
Original line number Diff line number Diff line
@@ -2,7 +2,3 @@
[shore]
aws_access_key_id = {{ run(["ph", "show", "--field", "UserName", "shore.co.il/AWS CLI"])["stdout"] }}
aws_secret_access_key = {{ run(["ph", "show", "--field", "Password", "shore.co.il/AWS CLI"])["stdout"] }}

[schoolinks]
aws_access_key_id = {{ run(["ph", "show", "--field", "UserName", "SchooLinks/AWS access key"])["stdout"] }}
aws_secret_access_key = {{ run(["ph", "show", "--field", "Password", "SchooLinks/AWS access key"])["stdout"] }}