Skip to content

UseRevokeKey

katanakit-js / useRevokeKey

function useRevokeKey(record): {
createdAt: string;
id: string;
label: string;
note?: string;
provider: string;
secret: string;
status: "active" | "revoked";
updatedAt: string;
};

Defined in: core/services/keyvault.service.ts:262

Marks a key as revoked. See KeyVaultService.useRevokeKey.

Parameter Type
record { createdAt: string; id: string; label: string; note?: string; provider: string; secret: string; status: "active" | "revoked"; updatedAt: string; }
record.createdAt? string
record.id? string
record.label? string
record.note? string
record.provider? string
record.secret? string
record.status? "active" | "revoked"
record.updatedAt? string
{
createdAt: string;
id: string;
label: string;
note?: string;
provider: string;
secret: string;
status: "active" | "revoked";
updatedAt: string;
}
createdAt: string;
id: string;
label: string;
note?: string;
provider: string = KeyProviderSchema;
secret: string;
status: "active" | "revoked" = KeyStatusSchema;
updatedAt: string;