Skip to content

LicenseCredentialRotationAcceptance

Public rotation result; only the first accepted call contains the new key.

const LicenseCredentialRotationAcceptance: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
status: Schema.Literal<"rotated">;
rotation: Schema.Struct<{
licenseId: Schema.brand<Schema.String, "LicenseId">;
sequence: Schema.Int;
rotatedAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
}>;
key: Schema.Redacted<Schema.brand<Schema.String, "LicenseKeyValue">>;
}>, Schema.Struct<{
status: Schema.Literal<"already_rotated">;
rotation: Schema.Struct<{
licenseId: Schema.brand<Schema.String, "LicenseId">;
sequence: Schema.Int;
rotatedAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
}>;
}>]>;