-
Notifications
You must be signed in to change notification settings - Fork 0
/
battlemon-api-secrets.yml
49 lines (41 loc) · 1.12 KB
/
battlemon-api-secrets.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
AWSTemplateFormatVersion: 2010-09-09
Description: BattlemonAPI secrets layer
Resources:
# Secrets
JWTSecret:
Type: AWS::SecretsManager::Secret
Properties:
Name: BattlemonAPIJWTSecret
SecretString: "CHANGE_ME"
Tags:
- Key: Name
Value: BattlemonAPIJWTSecret
ServerPrivateKey:
Type: AWS::SecretsManager::Secret
Properties:
Name: BattlemonAPIServerPrivateKey
SecretString: "CHANGE_ME"
Tags:
- Key: Name
Value: BattlemonAPIServerPrivateKey
BlockchainProviderApiKey:
Type: AWS::SecretsManager::Secret
Properties:
Name: BattlemonAPIBlockchainProviderApiKey
SecretString: "CHANGE_ME"
Tags:
- Key: Name
Value: BattlemonAPIBlockchainProviderApiKey
Outputs:
JWTSecretArn:
Value: !Ref JWTSecret
Export:
Name: BattlemonAPIJWTSecret
BattlemonAPIServerPrivateKeyArn:
Value: !Ref ServerPrivateKey
Export:
Name: BattlemonAPIServerPrivateKey
BattlemonAPIBlockchainProviderApiKeyArn:
Value: !Ref BlockchainProviderApiKey
Export:
Name: BattlemonAPIBlockchainProviderApiKey