Skip to content

LicenseCredentialIssuance

Public issuance result; only the first accepted call contains the raw key.

const LicenseCredentialIssuance: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
status: Schema.Literal<"issued">;
credential: Schema.Struct<{
licenseId: Schema.brand<Schema.String, "LicenseId">;
entitlement: Schema.brand<Schema.String, "EntitlementKey">;
activationLimit: Schema.Int;
issuedAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
}>;
key: Schema.Redacted<Schema.brand<Schema.String, "LicenseKeyValue">>;
}>, Schema.Struct<{
status: Schema.Literal<"already_issued">;
credential: Schema.Struct<{
licenseId: Schema.brand<Schema.String, "LicenseId">;
entitlement: Schema.brand<Schema.String, "EntitlementKey">;
activationLimit: Schema.Int;
issuedAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
}>;
}>]>;