# Get Signing Keys

`GET /vault/ledger-signing-key` · Keys & Secrets · Audit Ledger

Returns the public keys that verify ledger signatures and exit attestations: the active key and the earlier ones, so an old signature still verifies. Needs no authentication.

## Responses

- **200**: The signing keys, active and earlier.

| Field | Type | Required | Description |
|---|---|---|---|
| `keys` | array of object | yes | Active + historical public keys. Initially a single entry; rotation extends to multi-entry sets atomically per re-key. |
| `keys.[]algorithm` | string | yes | Signing algorithm — `"RSA-SHA256"` for v2 launch. Example: `"RSA-SHA256"`. |
| `keys.[]effectiveFrom` | string (date-time) | yes | Timestamp this key became effective. Example: `"2026-06-01T00:00:00.000Z"`. |
| `keys.[]effectiveTo` | string (date-time) \| null | no | Timestamp this key was revoked (rotation-superseded); `null` when key is currently active. Example: `"2026-11-15T09:30:00.123Z"`. |
| `keys.[]keyId` | string | yes | Key identifier (e.g., `kibo-ledger-key-1`). Example: `"kibo-ledger-key-1"`. |
| `keys.[]publicKeyPem` | string | yes | PEM-encoded public key. Example: `"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2a2rwplBQLzHPZe5RJr9\n-----END PUBLIC KEY-----\n"`. |


## Errors

| HTTP | Description |
|---|---|
| 500 | An internal error. Retry later. |

## Code samples

### cURL

```bash
curl -X GET 'https://<org>.api-<region>.k9o.io/@storefront/vault/ledger-signing-key' \
  -H 'Authorization: Bearer $K9O_TOKEN'
```

### fetch

```javascript
const res = await fetch('https://<org>.api-<region>.k9o.io/@storefront/vault/ledger-signing-key', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${process.env.K9O_TOKEN}`
  },
});
const { data, meta } = await res.json();
```

### k9o CLI

```bash
k9o vault signing-keys
```

### @k9o/core

```typescript
// const k9o = new K9o({ orgSlug: 'playground', projectSlug: 'storefront', apiKey: 'k9o_…' })
const { data } = await k9o.vault.ledgerSigningKeys()
```

### k9o

```python
# k9o = create_client(org_slug="playground", project_slug="storefront", api_key="k9o_…")
response = k9o.vault.ledger_signing_keys()
```

### sdk-go

```go
// ctx := context.Background()
// client, _ := k9o.NewClient(k9o.ClientOpts{OrgSlug: "playground", ProjectSlug: "storefront", APIKey: "k9o_…"})
data, _, kerr := client.Vault.LedgerSigningKeys(ctx)
```

### k9o

```rust
// let k9o = Client::new(ClientOpts { org_slug: "playground".into(), project_slug: "storefront".into(), api_key: "k9o_…".into() })?;
let resp = k9o.vault().ledger_signing_keys().await?;
```

### dev.k9o:core

```java
// K9o k9o = K9o.createClient(K9o.Opts.builder().orgSlug("playground").projectSlug("storefront").apiKey("k9o_…").build());
var response = k9o.vault().ledgerSigningKeys()
```

### K9o.Core

```c#
// var k9o = K9oClient.Create(new K9oOptions { OrgSlug = "playground", ProjectSlug = "storefront", ApiKey = "k9o_…" });
var response = await k9o.Vault.LedgerSigningKeysAsync()
```

### k9o

```ruby
# k9o = K9o.create_client(org_slug: "playground", project_slug: "storefront", api_key: "k9o_…")
response = k9o.vault.ledger_signing_keys()
```

### k9o/sdk

```php
// $k9o = K9oClient::create(['org_slug' => 'playground', 'project_slug' => 'storefront', 'api_key' => 'k9o_…']);
$response = $k9o->vault->ledger_signing_keys()
```


Canonical page: https://docs.kilimanjaro.dev/api-playground/keys-secrets/get-signing-keys
