forked from Sage-Bionetworks-IT/organizations-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvpn-idp.yaml
29 lines (29 loc) · 915 Bytes
/
vpn-idp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AWSTemplateFormatVersion: 2010-09-09
Description: SAML providers for the VPN
Parameters:
TransitVpnMetadata:
Type: String
Description: "Public certificate for transitvpn SSO"
TransitVpnSspMetadata:
Type: String
Description: "Public certificate for transitvpnssp SSO"
Resources:
TransitVpnSamlProvider:
Type: AWS::IAM::SAMLProvider
Properties:
Name: "transitvpn"
SamlMetadataDocument: !Ref TransitVpnMetadata
TransitVpnSspSamlProvider:
Type: AWS::IAM::SAMLProvider
Properties:
Name: "transitvpnssp"
SamlMetadataDocument: !Ref TransitVpnSspMetadata
Outputs:
TransitVpnSamlProviderArn:
Value: !Ref TransitVpnSamlProvider
Export:
Name: !Sub '${AWS::StackName}-TransitVpnSamlProviderArn'
TransitVpnSspSamlProviderArn:
Value: !Ref TransitVpnSspSamlProvider
Export:
Name: !Sub '${AWS::StackName}-TransitVpnSspSamlProviderArn'