-
Notifications
You must be signed in to change notification settings - Fork 11
/
config-rotate.json
55 lines (55 loc) · 1.29 KB
/
config-rotate.json
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
50
51
52
53
54
55
{
"IncludeAwsUserKeys": true,
"RotationMode": true,
"CloudProviders": [{
"Project":"my-project",
"Name": "gcp"
},
{
"Name": "aws"
}],
"AccountFilter": {
"Mode": "include",
"Accounts": [{
"Provider": {
"Name": "gcp",
"Project": "my-project"
},
"ProviderAccounts": [
"cloud-key-client-test"
]
}]
},
"AccountKeyLocations": [{
"ServiceAccountName": "cloud-key-rotator-test",
"GitHub": {
"FilePath": "service-account.txt",
"OrgRepo": "myorg/myrepo",
"VerifyCircleCISuccess": true,
"CircleCIDeployJobName": "dummy_deploy_with_wait"
},
"CircleCI": [{
"UsernameProject" : "myorg/myrepo",
"KeyEnvVar" : "GCLOUD"
}]
},
{
"ServiceAccountName": "cloud-key-rotator-aws",
"CircleCI": [{
"UsernameProject": "myorg/myrepo",
"KeyIDEnvVar": "AWS_KEY_ID",
"KeyEnvVar": "AWS_KEY"
}]
}],
"Credentials": {
"CircleCIAPIToken": "change_me",
"GitHubAccount": {
"GitHubAccessToken": "change_me",
"GitName": "git-name",
"GitEmail": "change_me@example.com"
},
"KmsKey": "projects/my-project/locations/europe-west1/keyRings/my-keyring/cryptoKeys/my-key",
"AkrPass": "change_me"
},
"DefaultRotationAgeThresholdMins": 1000
}