@@ -50,6 +50,9 @@ Metadata:
50
50
- BuildkiteAgentScalerServerlessARN
51
51
- BuildkiteAgentScalerVersion
52
52
- LogRetentionDays
53
+ - BuildkiteAgentSigningKeySSMParameter
54
+ - BuildkiteAgentSigningKeyID
55
+ - BuildkiteAgentVerificationKeySSMParameter
53
56
54
57
- Label :
55
58
default : Network Configuration
@@ -202,6 +205,25 @@ Parameters:
202
205
- " opentelemetry"
203
206
Default : " "
204
207
208
+ BuildkiteAgentSigningKeySSMParameter :
209
+ Description : Existing SSM Parameter Store path to the to a JSON Web Key Set (JWKS) containing a key to sign jobs with.
210
+ Type : String
211
+ Default : " "
212
+ AllowedPattern : " ^$|^/[a-zA-Z0-9_.\\ -/]+$"
213
+ ConstraintDescription : " Expects a leading forward slash"
214
+
215
+ BuildkiteAgentSigningKeyID :
216
+ 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.
217
+ Type : String
218
+ Default : " "
219
+
220
+ BuildkiteAgentVerificationKeySSMParameter :
221
+ Description : Existing SSM Parameter Store path to the to a JSON Web Key Set (JWKS) containing keys with which to verify jobs.
222
+ Type : String
223
+ Default : " "
224
+ AllowedPattern : " ^$|^/[a-zA-Z0-9_.\\ -/]+$"
225
+ ConstraintDescription : " Expects a leading forward slash"
226
+
205
227
BuildkiteAgentCancelGracePeriod :
206
228
Description : The number of seconds a canceled or timed out job is given to gracefully terminate and upload its artifacts.
207
229
Type : Number
@@ -1218,6 +1240,9 @@ Resources:
1218
1240
$Env:BUILDKITE_AGENT_TIMESTAMP_LINES="${BuildkiteAgentTimestampLines}"
1219
1241
$Env:BUILDKITE_AGENT_EXPERIMENTS="${BuildkiteAgentExperiments}"
1220
1242
$Env:BUILDKITE_AGENT_TRACING_BACKEND="${BuildkiteAgentTracingBackend}"
1243
+ $Env:BUILDKITE_AGENT_SIGNING_KEY_PATH="${BuildkiteAgentSigningKeySSMParameter}" \
1244
+ $Env:BUILDKITE_AGENT_SIGNING_KEY_ID="${BuildkiteAgentSigningKeyID}" \
1245
+ $Env:BUILDKITE_AGENT_VERIFICATION_KEY_PATH="${BuildkiteAgentVerificationKeySSMParameter}" \
1221
1246
$Env:BUILDKITE_AGENT_RELEASE="${BuildkiteAgentRelease}"
1222
1247
$Env:BUILDKITE_QUEUE="${BuildkiteQueue}"
1223
1248
$Env:BUILDKITE_AGENT_ENABLE_GIT_MIRRORS="${BuildkiteAgentEnableGitMirrors}"
@@ -1276,6 +1301,9 @@ Resources:
1276
1301
BUILDKITE_AGENT_TIMESTAMP_LINES="${BuildkiteAgentTimestampLines}" \
1277
1302
BUILDKITE_AGENT_EXPERIMENTS="${BuildkiteAgentExperiments}" \
1278
1303
BUILDKITE_AGENT_TRACING_BACKEND="${BuildkiteAgentTracingBackend}" \
1304
+ BUILDKITE_AGENT_SIGNING_KEY_PATH="${BuildkiteAgentSigningKeySSMParameter}" \
1305
+ BUILDKITE_AGENT_SIGNING_KEY_ID="${BuildkiteAgentSigningKeyID}" \
1306
+ BUILDKITE_AGENT_VERIFICATION_KEY_PATH="${BuildkiteAgentVerificationKeySSMParameter}" \
1279
1307
BUILDKITE_AGENT_RELEASE="${BuildkiteAgentRelease}" \
1280
1308
BUILDKITE_AGENT_CANCEL_GRACE_PERIOD="${BuildkiteAgentCancelGracePeriod}" \
1281
1309
BUILDKITE_QUEUE="${BuildkiteQueue}" \
0 commit comments