This operation should be called only by administrator and only once per tenant.
{
"name": "my-vault",
"description": "Production secrets vault",
"rotationTime": 90,
"encryptionAlgorithm": "AES",
"defaultNotificationMediumId": "01d4b73e-46b3-4347-842d-6b556dc7f9b2",
"keyRotationScheduleTime": "2026-09-22T04:00:00Z",
"staticExpiryReminderFrequency": "Daily",
"staticExpiryReminderTime": "2026-09-22T04:00:00Z",
"dynamicRotationScheduleTime": "2026-09-22T04:30:00Z",
"dynamicRotationIntervalHours": 24,
"verificationScheduleTime": "2026-09-22T05:00:00Z",
"verificationIntervalHours": 24,
"recipients": {
"userIds": [
"g1bfrv2idml7sxfb5q70"
],
"tags": [],
"channelIds": null
}
}Time of day (HH:mm, 24-hour) at which the daily vault key rotation task runs. Must be at least 30 minutes apart from dynamicRotationScheduleTime (SM-0174). Invalid format returns SM-0178. Defaults to 04:00 if not provided.
Frequency for sending static secret expiry reminders. Allowed values: Daily, Weekly, Off (SM-0175). Defaults to Daily if not provided.
Time of day (HH:mm, 24-hour) at which expiry reminder notifications are sent. Invalid format returns SM-0178. Defaults to 04:00 if not provided.
Day of week for weekly expiry reminders (1=Monday, 7=Sunday). Required when staticExpiryReminderFrequency is Weekly (SM-0176).
Start time (HH:mm, 24-hour) for the bulk dynamic secret rotation task. Must be at least 30 minutes apart from keyRotationScheduleTime (SM-0174). Invalid format returns SM-0178. Defaults to 04:30 if not provided.
How often (in hours) to run the bulk dynamic secret rotation task. Allowed values: 4, 8, 12, 24 (SM-0177). Defaults to 24 if not provided.
Start time (HH:mm, 24-hour) for the secret verification task. Verification runs on its own independent schedule, decoupled from rotation; whether an individual secret is actually verified is a per-secret setting, not vault-level. Invalid format returns SM-0178. Defaults to 05:00 if not provided (30 minutes after the default dynamicRotationScheduleTime; verification then runs independently thereafter).
How often (in hours) to run the secret verification task. Allowed values: 4, 8, 12, 24 (SM-0181). Defaults to 24 if not provided.
successful operation
Bad request. Returned for the following violations:
SM-0174—keyRotationScheduleTimeanddynamicRotationScheduleTimeare less than 30 minutes apart. Both fields are validated against their resolved values; omitted fields are replaced by their defaults (04:00and04:30) before the check runs.SM-0175—staticExpiryReminderFrequencyis not one ofDaily,Weekly, orOff.SM-0176—staticExpiryReminderDayis missing or not in range 1–7 whenstaticExpiryReminderFrequencyisWeekly.SM-0177—dynamicRotationIntervalHoursis not one of4,8,12, or24.SM-0178—keyRotationScheduleTime,staticExpiryReminderTime, ordynamicRotationScheduleTimeis not inHH:mmformat. Message:Invalid schedule time format. Expected HH:mm (e.g. 14:30).SM-0181—verificationIntervalHoursis not one of4,8,12, or24.