API referansı
/api/v1 altında REST, yanında GraphQL. İkisi de aynı servisleri aynı izinlerle çağırır; ayrıca soketler ve akışlar.
İki yüzey ve hangisi ne için#
Keydra iki ayrı yüzeyde yanıt verir. Bunlar tek bir yapının iki yarısı değildir.
/graphqlüzerinde GraphQL-
135 işlem bulunur. Keydra arayüzünün kullandığı yüzey budur. Bağlantı kataloğu, anahtar tarayıcının ağacı ve değişiklik işlemleri, izleme, göç işleri, zamanlanmış işler, uyarılar, yedekler, tüneller, erişim denetimi, denetim günlüğü, oturumlar — hemen bütün sayfalar sorularını buraya sorar.
/api/v1altında REST-
161 uç nokta bulunur. Eksiksiz yüzeydir ve bir betiği ya da başka bir aracı bu yüzeye göre yazarsınız. Sürüm numarası yolun içindedir; bu da iç bir sorgunun veremeyeceği bir kararlılık sözü verir.
İkisi de aynı servisleri çağırır ve aynı yapıları döndürür: GraphQL tipleri, REST uç noktasının zaten döndürdüğü DTO’lardır. İkisinin bir alanın adı konusunda ayrışmasını engelleyen de budur. Her iki yüzeydeki her işlem aynı izin denetiminden geçer; doğrudan veritabanına uzanan bir çözücü, aynı eve açılan ikinci bir kapı olurdu.
Arayüz neden GraphQL’e taşındı#
Üç ayrı veriye ihtiyaç duyan bir sayfa üç istek yapıyordu; uzun bir listenin altı sütununu
gösteren bir sayfa ise her satırın tamamını indiriyordu. /api/v1/migrations 31 KB,
/api/v1/schedules/runs 22 KB yanıt döndürür; altı sütun gösteren bir tablo bunun belki
onda birini kullanır.
Sayfalar tek tek ve bütün hâlinde taşındı. Yarısı bir yüzeyde, yarısı diğerinde kalan bir sayfa iki ayrı önbellek anlamına gelirdi. REST uç noktaları, onları çağıran hiçbir şey kalmayana kadar yerinde durur; aşağıdaki listenin arayüzün kullandığından uzun olmasının nedeni budur.
Arayüzün hâlâ REST kullandığı yerler#
Bunların çoğu artık kullanılmayan kalıntılar değil, GraphQL’in uygun olmadığı işlerdir:
- Dosyalar
-
Anahtarları dışa ve içe aktarma. Dosya bir alan değildir.
- Değerler
-
Anahtar içeriğini okuma ve yazma, kodlama listesini alma.
- Oturum açma
-
Form gönderimi, çıkış, ilk kurulum, sağlayıcı yönlendirmesi, davet ve parola sıfırlama sayfaları. Bunlar, soru sorulacak bir oturum daha oluşmadan çalışır.
/api/v1/about-
Bir kez okunan küçük bir kayıt.
- Soketler
-
Bildirim hattı, konsol ve komut izleme. Her biri dinleyene belirli türde olay taşır; sayfa başına ayrı abonelik açmak, aynı bilgiyi tekrarlayan ikinci bir soket olurdu.
Kimlik doğrulama#
Her iki yüzey de arayüzün zaten taşıdığı oturum çereziyle doğrulanır. Ayrı bir API belirteci mekanizması yoktur: betik de bir kullanıcı olarak çalışır ve o kullanıcı oturum açar.
GraphQL GET isteklerini reddeder. Adres satırındaki bir sorgu; vekil günlüğüne, tarayıcı
geçmişine ve yönlendiren başlığına da yazılır. Keydra sorguları ise bağlantı kimlikleri
ve anahtar desenleri içerir.
İç gözlem ve şema belgesi geliştirmede açık, üretimde kapalıdır. Hiçbiri tek başına açık değildir — kimliği doğrulanmış bir çağıran her iki durumda da erişebildiğine erişir — ama şema, bütün alanların ve argümanların haritasıdır; üretim kurulumunda bu haritaya ihtiyaç duyan kimse yoktur.
OpenAPI#
Çalışan bir Keydra kendi OpenAPI belgesini yayımlar:
curl -s http://localhost:8181/api/openapi > keydra-openapi.yamlGeliştirme profilinde /q/swagger-ui adresinden belgeye etkileşimli olarak göz atabilirsiniz.
Bu belge yetkili şemadır: istek ve yanıt yapıları, durum kodları ve doğrulama kuralları onları sunan koddan üretilir. Aşağıdaki tablolar uç noktaları ve gerektirdikleri izinleri gösterir; alanların ayrıntısı belgede bulunur.
GraphQL şeması geliştirmede /graphql/schema.graphql adresinde sunulur ve iç gözlem de orada
açıktır. Üretimde ikisi de kapalıdır.
WebSocket’ler ve akışlar#
| Yol | Açıklama |
|---|---|
|
Hedefin kendi MONITOR akışı; sırlar motordan çıkmadan önce maskelenir. İstenene kadar kapalıdır, çünkü açıkken sunucuya iş çıkarır. |
|
Tek bir hedefe karşı bir komut konsolu oturumu. Türlü sonuçlar geldikçe akıtılır. |
|
Bildirim hattı. Bütün arayüz için tek soket; her sunucu tarafı değişikliği bir kategori, bir yük ve bir zaman damgasından oluşan zarf olarak taşır. Tek bir hedefe dair yayın, yalnızca sahibinin o hedefi görebildiği soketlere ulaşır. |
Bildirim zarfı#
Bildirim hattındaki bütün mesajlar aynı yapıdadır:
{
"category": "ConnectionStatusChanged",
"payload": { },
"ts": "2026-01-01T00:00:00Z"
}Tek bir hedefe ait bir yayın, yalnızca sahibinin o hedefi görebildiği soketlere ulaşır.
| Kategori | Açıklama |
|---|---|
|
Bağlantı profili eklendi. |
|
Bağlantı profili değişti. Havuzdaki istemcileri ve tüneli kapatılır; profil artık başka bir sunucuyu gösteriyor olabilir. |
|
Bağlantı profili kaldırıldı. |
|
Hedef ayağa kalktı, düştü ya da farklı bir türev veya sürüm bildirdi. |
|
Hedefteki anahtarlar oluşturuldu, yeniden adlandırıldı, süre aldı ya da silindi. |
|
Anahtarın içeriği değişti. |
|
Abone olunan kanala mesaj geldi. |
|
Abonelik açıldı, kapandı ya da bağlantısı düştüğü için sona erdi. |
|
İzlenen hedeften yeni bir ölçüm geldi. |
|
Hedef için örnekleme başladı ya da durdu. |
|
İki hedef arasındaki göç işinin ilerlemesi. İşi başlatan isteğe yanıt olarak değil, yayın olarak gönderilir; böylece yarısında yenilenen bir sayfa süren işi gözden kaybetmez. |
|
Zamanlanmış iş, planlandığı işi yapamadı. Yalnızca başarısızlıklar bildirilir: beş dakikada bir gelen başarı bildirimi, asıl önemli olanı gözden kaçırtırdı. |
|
Zamanlanmış iş sonuçtan bağımsız olarak tamamlandı. "Son çalışma" sütunu çizen tablolar için gerekir; o sütun başarıda da başarısızlıkta da değişmelidir. |
|
Uyarı kuralı sessiz, beklemede ve tetikte durumları arasında geçiş yaptı. Yalnızca geçişler bildirilir; altı saattir tetikte olan kural tek bir mesaj gönderir. |
|
Oturum burada ya da başka bir örnekte sonlandırıldı. Onu taşıyan tarayıcı bir sonraki isteğinde çalışmayı bırakır. |
|
Başarılı bir giriş, kendisinden öncekilere benzemiyordu. |
|
Toplu silmenin nereye geldiği. Glob ile silme, anahtar uzayını gruplar hâlinde yürür; bu yüzden sonunda tek bir yanıt vermek yerine ilerledikçe bildirir — dört dakika boyunca hiçbir şey göstermeyen bir sayfa, durmuş bir sayfadan ayırt edilemezdi. |
|
Birisi, ikinci bir kişiyi bekleyen bir hedefte işlem istedi. İçinde yalnızca isteğin kimliği ve hedef vardır, başka bir şey değil: yayının izleyicisi o hedefi görebilen herkestir ve bu küme, isteği yanıtlayabilecek kişilerden geniştir. |
|
Bir istek onaylandı, reddedildi, geri çekildi, süresi doldu ya da çalışmasını bitirdi. Kimsenin düğmeye basmadığı bitişler de dâhil her bitiş bildirilir; çünkü yanıtı bekleyen kişi, onun geldiğini görmeye en çok ihtiyaç duyan kişidir. |
Server-Sent Events#
Anahtar sayımı, yanıtın tamamı hazırlanmadan Server-Sent Events olarak akıtılır; böylece arayüz
SCAN sürerken ilk anahtarları çizer. Yanındaki GraphQL aboneliği ise yalnızca çağıranın
istediği alanları gönderir: yalnızca ad ve tür gösteren bir tarayıcıya, bir milyon anahtarlık
veritabanındaki her anahtarın TTL’i ve boyutu değil, yalnızca ad ve tür gider.
REST uç noktaları#
Uç noktalar, kaynakların taşıdığı etikete göre gruplanmıştır. Gereken sütunu, uç noktanın denetlediği izni gösterir; denetim yalnızca kaba bir role dayanıyorsa rol adı yazılır.
Liste, arayüzün artık çağırmadığı uç noktaları da içerir. Bunlar, onları çağıran hiçbir şey kalmayana kadar yerinde durur: son çağıran taşındığı gün bir uç noktayı silmek, kimsenin hatırlamadığı bir istemciyi bozmanın en kolay yoludur.
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
Get application name, version and build metadata |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every configured delivery, and how many rules use it |
|
|
|
Add somewhere to send alerts |
|
|
|
Remove a delivery |
|
|
|
Change a delivery |
|
|
|
Send a test message |
|
|
|
Which destinations hear about Keydra itself |
|
|
|
Choose which destinations hear about Keydra itself |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every rule, with where it currently stands |
|
|
|
Watch for a condition |
|
|
|
Remove a rule, and the record of what it said |
|
|
|
Change a rule |
|
|
|
What the rules have said |
|
|
|
The metrics a rule can watch |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Where this target’s memory went |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Operations waiting for a second person |
|
|
|
Withdraw a request you made |
|
|
|
One request, with what it would do |
|
|
|
Agree to an operation, which starts it |
|
|
|
Say no, and say why |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
End this session |
|
|
Oturum açmış olmak |
What the caller may do, per target |
|
|
Oturum açmış olmak |
Create the first administrator |
|
|
Oturum açmış olmak |
Whether there is anything to sign into, and whether anybody has |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every configured destination |
|
|
|
Add a destination |
|
|
|
Remove a destination |
|
|
|
Change a destination |
|
|
|
Find out whether it works |
|
|
|
Try a destination that has not been saved |
|
|
|
Generate a key pair for encrypting backups |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
List all connection profiles with their last known status |
|
|
|
Create a connection profile |
|
|
|
Delete a connection profile |
|
|
|
Get one connection profile |
|
|
|
Update a connection profile |
|
|
|
Probe a saved profile and record the result |
|
|
|
Probe a profile that has not been saved |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Commands the console refuses to run on this target |
|
|
|
Forget your own command history on this target |
|
|
|
Command lines you have previously run against this target |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
The databases this target holds |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Which key the stored secrets are under |
|
|
|
Re-encrypt everything with the key that writes now |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every grant, with names beside the ids |
|
|
|
Grant a role on a scope |
|
|
|
Take a grant back |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every group, with what is directly inside it |
|
|
|
Create a group |
|
|
|
Remove a group |
|
|
|
Put a person, or another group, into this group |
|
|
|
Take something out of a group |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every configured provider |
|
|
|
Add a provider |
|
|
|
Remove a provider |
|
|
|
Change a provider |
|
|
|
Map a claim value to a Keydra group |
|
|
|
Remove a mapping |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Who is running and what they depend on |
|
|
|
Put an instance back into service |
|
|
|
Take an instance out of service |
|
|
|
Ask everything Keydra reaches whether it is there, now |
|
|
|
When things Keydra reaches started and stopped answering |
|
|
|
Who is running, and what each of them is holding |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Herkese açık |
Whether a link can still be used |
|
|
Herkese açık |
Set a password with a link |
|
|
|
Send somebody a link to set their own password |
|
|
Herkese açık |
Ask for a link because a password has been forgotten |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Stream keys matching a filter |
|
|
|
Copy a key to a new name |
|
|
|
Delete one or more keys |
|
|
|
Set or clear a key’s TTL |
|
|
|
Export keys as the store’s own serialisation |
|
|
|
Restore exported keys |
|
|
|
Migrations started from this target |
|
|
|
Move keys to another target |
|
|
|
Stop a migration |
|
|
|
Delete everything a pattern matches |
|
|
|
Rename a key |
|
|
|
List the namespace level below a prefix |
|
|
|
Give a lease back |
|
|
|
Whether this target’s changes are being heard |
|
|
|
Take or renew a lease on this target’s changes |
|
|
|
Ask the target to announce its changes |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
Every migration this instance knows about |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Stop sampling this target |
|
|
|
Sampling state and the readings collected so far |
|
|
|
Start sampling this target |
|
|
|
The largest keys in a sample of the keyspace |
|
|
|
Clients currently attached to the server |
|
|
|
Disconnect a client |
|
|
|
Readings over a window |
|
|
|
Raw server statistics, grouped by section |
|
|
|
One reading of this target’s vital signs, taken now |
|
|
|
Clear the slow log |
|
|
|
Commands the server recorded as slow, newest first |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
Everything you prefer |
|
|
Oturum açmış olmak |
Set one preference |
|
|
Oturum açmış olmak |
Forget one preference |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Publish a message |
|
|
|
Stop listening on this target |
|
|
|
What this target is currently subscribed to |
|
|
|
Listen on a target’s channels |
|
|
|
Every subscription this server currently holds open |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every role and what it carries |
|
|
|
Create a custom role |
|
|
|
Remove a custom role |
|
|
|
Change a custom role |
|
|
|
Every permission there is |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every schedule, with when it last ran and when it runs next |
|
|
|
Arrange work to happen on its own |
|
|
|
Remove a schedule, and the record of what it did |
|
|
|
Change a schedule |
|
|
|
Run it now |
|
|
|
The kinds of work that can be scheduled |
|
|
|
What the schedules have done |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
Turn off your second factor |
|
|
Oturum açmış olmak |
Whether you have a second factor, and how many recovery codes are left |
|
|
Oturum açmış olmak |
Begin pairing an authenticator |
|
|
Oturum açmış olmak |
Prove the pairing with one code |
|
|
Oturum açmış olmak |
Replace your recovery codes |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Users the target knows about |
|
|
|
Create or replace a user |
|
|
|
Remove a user from the target |
|
|
|
Permission categories the target defines |
|
|
|
What has been done, newest first |
|
|
|
The action names recorded so far |
|
|
Herkese açık |
Who Keydra thinks is asking, and what they may do |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every server group, with the targets in it |
|
|
|
Create a server group |
|
|
|
Remove a server group |
|
|
|
Take a target out of this group |
|
|
|
Put a target into this group |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
How this target is keeping its data |
|
|
|
Rewrite the append-only log, compacting it |
|
|
|
Write a snapshot in the background |
|
|
|
Everything this target is configured to do |
|
|
|
Change one setting while the server runs |
|
|
|
Write the running configuration back to the server’s own file |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
End every session except this one |
|
|
Oturum açmış olmak |
The browsers you are signed in on |
|
|
Oturum açmış olmak |
End one of your sessions |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
What is asked of whoever signs in |
|
|
|
Require a second factor, or stop requiring one |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
Oturum açmış olmak |
The ways in this instance offers |
|
|
Oturum açmış olmak |
Where the provider sends people back to |
|
|
Oturum açmış olmak |
Begin signing in through a provider |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
How this target is arranged and what it supports |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Every configured tunnel |
|
|
|
Add a tunnel |
|
|
|
Remove a tunnel |
|
|
|
Change a tunnel |
|
|
|
Find out whether it works |
|
|
|
Try a jump host that has not been saved |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Everybody, with the groups they are directly in |
|
|
|
Create a local account |
|
|
|
Remove an account |
|
|
|
Change an account |
| Yöntem | Yol | Gereken | Ne yapar |
|---|---|---|---|
|
|
|
Read a page of a key’s value |
|
|
|
Change a value |
|
|
|
List the decoders a client may request |
GraphQL işlemleri#
Keydra arayüzünün gerçekte kullandığı işlemler. Mutasyonlar da listededir: yüzey salt okunur değildir.
| İşlem | Gereken | Ne yapar |
|---|---|---|
|
|
Every account, with the roles it holds |
|
|
The command categories a rule can name, as this server spells them |
|
|
The accounts the server itself knows about, and what each may run |
|
|
The channels a firing rule can send word through |
|
|
What has fired and what has cleared, newest first |
|
|
The metrics a rule can watch, each with its unit |
|
|
The rules, with what each one is reading now and which state it is in |
|
|
Commands a target can be allowed to run, each with what allowing it means |
|
|
Every kind of action that has been recorded, for a filter to offer |
|
|
A page of the audit log, newest first |
|
Oturum açmış olmak |
What this instance expects of whoever is asking |
|
|
One backup’s header, read without downloading the whole file |
|
|
Every destination, without the credentials they hold |
|
|
What is already in a destination, newest first |
|
|
The biggest keys found by sampling the keyspace |
|
|
What a target can do, which decides which tools are offered for it |
|
|
Who is connected to the target right now |
|
|
One target, by id |
|
|
Every target the caller can see, with its last known status |
|
|
What you have run against this target, newest first, with values redacted |
|
|
The numbered databases on a target, with how many keys each holds |
|
|
The commands this target refuses to run, whoever is asking |
|
Oturum açmış olmak |
What the caller may do, over Keydra itself and over each target |
|
|
Which key the stored secrets are under, and how many are not |
|
|
How many flagged sign-ins there are in the window |
|
|
Sign-ins that worked but did not look like the ones before them |
|
|
One reading from every target the caller can see |
|
|
Who holds which role, over what |
|
|
Every group, with who is in it |
|
|
Every provider, with the redirect URI each one has to be told about |
|
|
What the keyspace holds, worked out by sampling it |
|
|
Whether a target announces its changes, and whether anybody is listening |
|
Oturum açmış olmak |
Who is asking, the roles they hold, and whether access is being enforced |
|
|
A page of migrations, newest first, filtered to what the caller can see |
|
|
Whether a target is being sampled, and since when |
|
|
Readings between two moments, evenly divided into points |
|
|
One reading, taken now |
|
Oturum açmış olmak |
How many browsers there are to page through |
|
Oturum açmış olmak |
Every browser that can act as you right now, the one reading this first |
|
Oturum açmış olmak |
How many sign-ins there are to page through |
|
Oturum açmış olmak |
Your own recent sign-ins, newest first |
|
|
One level of the keyspace, grouped by a delimiter |
|
|
Every permission a role can carry, with the level it applies at |
|
|
Whether the server is writing to disk, and when it last did |
|
|
Sign-ins that were refused, newest first |
|
|
Every role, built in or defined here, with the permissions it carries |
|
|
The kinds of work that can be scheduled, with the permission each one needs |
|
|
What became of the arranged work, newest first |
|
|
Every schedule, with when it last ran and when it runs next |
|
|
Every server group, with which targets are in it |
|
|
The server’s own configuration, as it reports it |
|
Oturum açmış olmak |
The ways of signing in this instance offers, other than a password here |
|
|
What this instance asks of whoever signs in |
|
|
The commands the server itself recorded as slow |
|
|
What this target is being listened to for, or nothing |
|
|
The shape of the target: standalone, replicated, sentinel or clustered |
|
|
Every jump host, without the keys they hold |
| İşlem | Gereken | Ne yapar |
|---|---|---|
|
|
Puts an account, or another group, inside a group |
|
|
Says which local group a claim value puts somebody in |
|
|
Puts a target in a server group |
|
|
Asks a target to announce its changes, keeping whatever its setting already said |
|
|
Stops a migration; what has moved stays moved |
|
|
Changes one setting on the running server |
|
|
Sends a test message through a channel and reports what happened |
|
|
Reaches the destination and reports what happened |
|
|
Opens a connection to the target and reports what came back |
|
|
Opens the tunnel and reports what happened |
|
|
Empties your own command history on this target |
|
|
Empties the server’s own slow log |
|
|
Copies a key, here or to another target |
|
|
Adds an account; the password is set by whoever accepts the invitation |
|
|
Adds a channel for firing rules to send word through |
|
|
Adds a rule watching one metric on one target |
|
|
Adds a destination for backups to be written to |
|
|
Adds a target |
|
|
Adds a group |
|
|
Adds a provider people can sign in through |
|
|
Defines a role |
|
|
Arranges a job to run on a cron expression |
|
|
Adds a server group, so a grant can name several targets at once |
|
|
Adds a jump host |
|
|
Removes an account and every grant it held |
|
|
Removes one of the server’s own accounts |
|
|
Removes a channel |
|
|
Removes a rule |
|
|
Removes a destination |
|
|
Removes a target and everything Keydra kept about it |
|
|
Removes a group and every grant it held |
|
|
Removes a provider; accounts it created stay, and can no longer sign in with it |
|
|
Removes the named keys |
|
|
Removes a role and every grant of it |
|
|
Removes a schedule |
|
|
Removes a server group and every grant scoped to it |
|
|
Removes a jump host |
|
Oturum açmış olmak |
Ends every session but this one, and answers how many |
|
Oturum açmış olmak |
Ends one of your sessions; it stops on that browser’s next request |
|
|
Sets or clears a key’s time to live |
|
|
Makes a key pair; the private half is shown once and never stored |
|
|
Gives a role to an account or a group, over an instance, group or target |
|
|
Takes or renews a lease on a target’s changes |
|
|
Writes keys into a target from what was exported |
|
|
Makes a link that lets an account set its own password |
|
|
Closes one client’s connection to the target |
|
|
Writes the running configuration to the server’s own file |
|
|
Sends a message to a channel and answers how many subscribers took it |
|
|
Removes every key matching a glob, a batch at a time |
|
|
Rewrites every stored secret under the current key |
|
|
Gives a lease back, closing the watch when it was the last |
|
|
Takes a member out of a group |
|
|
Removes a mapping; it stops applying at the next sign-in through that provider |
|
|
Takes a target out of a server group |
|
|
Renames a key |
|
|
Require a second factor of every local account, or stop requiring one |
|
|
Writes a backup’s keys into a target |
|
|
Takes a grant back; it stops applying on the holder’s next request |
|
|
Asks the server to rewrite its append-only file |
|
|
Runs a scheduled job now, without waiting for its cron |
|
|
Creates or replaces one of the server’s own accounts |
|
|
Starts moving keys from one target to another; answers before any have moved |
|
|
Starts sampling a target on a clock |
|
|
Stops sampling a target |
|
|
Starts listening to channels or patterns on a target |
|
|
Writes a backup of a target into a destination |
|
|
Asks the server to write a snapshot in the background |
|
|
Stops listening; answers whether anything was listening |
|
|
Changes an account |
|
|
Changes a channel |
|
|
Changes a rule |
|
|
Changes a destination |
|
|
Changes a target |
|
|
Changes a provider |
|
|
Changes what a role carries |
|
|
Changes a schedule |
|
|
Changes a jump host |
| İşlem | Gereken | Ne yapar |
|---|---|---|
|
|
Walks a target’s keyspace with SCAN, one key at a time. KEYS is never used. |
Şema, tek bir isteği ağır bir işe dönüştürmenin bilinen bütün yolları için sınır koyar: sorgunun kaç kat iç içe geçebileceği, toplamda kaç alan istenebileceği — takma ad saldırısını yalnızca derinlik sınırı yakalayamaz — ve ayrıştırıcının okumayı bırakmadan önce ne kadar kabul edeceği. Her biri ayrıca ayarlanmıştır; büyük belgelerle çalışan genel API’ler için düşünülmüş varsayılanlara bırakılmamıştır.
Beklenmeyen hatalar tek bir genel cümleyle yanıtlanır. Uygulamanın içinden gelen istisna mesajı, uygulamanın yapısını anlatır; onun yeri günlüktür.