#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common 'Abblix\.Oidc\.Server\.Common')

## KeyLifecycleStatus Enum

The lifecycle state of a service key as it moves through generation, activation, retirement and
deletion\. The transitions themselves are driven by the rotation engine; this contract only names the
states so a persistent store and the read seam agree on their meaning\.

```csharp
public enum KeyLifecycleStatus
```
### Fields

###### `Pending` 0 {#Abblix.Oidc.Server.Common.KeyLifecycleStatus.Pending}

Generated and published for verification, but not yet used for signing\. Publishing a key before it
signs \(publish\-before\-sign\) gives relying parties time to fetch it, so the first token it signs
already verifies against a key they hold\.

###### `Active` 1 {#Abblix.Oidc.Server.Common.KeyLifecycleStatus.Active}

The current signing key: within its `not_before` / `not_after` window\.

###### `Retiring` 2 {#Abblix.Oidc.Server.Common.KeyLifecycleStatus.Retiring}

Past `not_after`, so it no longer signs, but still published so tokens it already signed keep
verifying until they expire\.

###### `Retired` 3 {#Abblix.Oidc.Server.Common.KeyLifecycleStatus.Retired}

Past `delete_after`: no live token can reference it, so it is removed from publication\.
