@@ -49,6 +49,9 @@ Metadata:
49
49
- BuildkiteWindowsAdministrator
50
50
- BuildkiteAgentScalerServerlessARN
51
51
- BuildkiteAgentScalerVersion
52
+ - BuildkiteAgentSigningKeySSMParameter
53
+ - BuildkiteAgentSigningKeyID
54
+ - BuildkiteAgentVerificationKeySSMParameter
52
55
53
56
- Label :
54
57
default : Network Configuration
@@ -195,6 +198,25 @@ Parameters:
195
198
- " opentelemetry"
196
199
Default : " "
197
200
201
+ BuildkiteAgentSigningKeySSMParameter :
202
+ Description : Existing SSM Parameter Store path to the to a JSON Web Key Set (JWKS) containing a key to sign jobs with.
203
+ Type : String
204
+ Default : " "
205
+ AllowedPattern : " ^$|^/[a-zA-Z0-9_.\\ -/]+$"
206
+ ConstraintDescription : " Expects a leading forward slash"
207
+
208
+ BuildkiteAgentSigningKeyID :
209
+ Description : The ID of the key in the JWKS to use for signing jobs. If not specified, and the JWKS contains only one key, that key will be used.
210
+ Type : String
211
+ Default : " "
212
+
213
+ BuildkiteAgentVerificationKeySSMParameter :
214
+ Description : Existing SSM Parameter Store path to the to a JSON Web Key Set (JWKS) containing keys with which to verify jobs.
215
+ Type : String
216
+ Default : " "
217
+ AllowedPattern : " ^$|^/[a-zA-Z0-9_.\\ -/]+$"
218
+ ConstraintDescription : " Expects a leading forward slash"
219
+
198
220
BuildkiteAgentCancelGracePeriod :
199
221
Description : The number of seconds a canceled or timed out job is given to gracefully terminate and upload its artifacts.
200
222
Type : Number
@@ -1179,6 +1201,9 @@ Resources:
1179
1201
$Env:BUILDKITE_AGENT_TIMESTAMP_LINES="${BuildkiteAgentTimestampLines}"
1180
1202
$Env:BUILDKITE_AGENT_EXPERIMENTS="${BuildkiteAgentExperiments}"
1181
1203
$Env:BUILDKITE_AGENT_TRACING_BACKEND="${BuildkiteAgentTracingBackend}"
1204
+ $Env:BUILDKITE_AGENT_SIGNING_KEY_PATH="${BuildkiteAgentSigningKeySSMParameter}" \
1205
+ $Env:BUILDKITE_AGENT_SIGNING_KEY_ID="${BuildkiteAgentSigningKeyID}" \
1206
+ $Env:BUILDKITE_AGENT_VERIFICATION_KEY_PATH="${BuildkiteAgentVerificationKeySSMParameter}" \
1182
1207
$Env:BUILDKITE_AGENT_RELEASE="${BuildkiteAgentRelease}"
1183
1208
$Env:BUILDKITE_QUEUE="${BuildkiteQueue}"
1184
1209
$Env:BUILDKITE_AGENT_ENABLE_GIT_MIRRORS="${BuildkiteAgentEnableGitMirrors}"
@@ -1236,6 +1261,9 @@ Resources:
1236
1261
BUILDKITE_AGENT_TIMESTAMP_LINES="${BuildkiteAgentTimestampLines}" \
1237
1262
BUILDKITE_AGENT_EXPERIMENTS="${BuildkiteAgentExperiments}" \
1238
1263
BUILDKITE_AGENT_TRACING_BACKEND="${BuildkiteAgentTracingBackend}" \
1264
+ BUILDKITE_AGENT_SIGNING_KEY_PATH="${BuildkiteAgentSigningKeySSMParameter}" \
1265
+ BUILDKITE_AGENT_SIGNING_KEY_ID="${BuildkiteAgentSigningKeyID}" \
1266
+ BUILDKITE_AGENT_VERIFICATION_KEY_PATH="${BuildkiteAgentVerificationKeySSMParameter}" \
1239
1267
BUILDKITE_AGENT_RELEASE="${BuildkiteAgentRelease}" \
1240
1268
BUILDKITE_AGENT_CANCEL_GRACE_PERIOD="${BuildkiteAgentCancelGracePeriod}" \
1241
1269
BUILDKITE_QUEUE="${BuildkiteQueue}" \
0 commit comments