List app keys
Returns the credentials an app’s callers use to reach a tenant: its publishable keys, which are safe to ship in a client, and its secret tokens, which are not shown. A tenant is born with one of each, with the ids primary and primary-secret.
/_luna/tenants/{tenant}/keysAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
keys:readtenantstringrequiredThe tenant, by its full name.
The tenant's keys.
keysAppKeyItem[]requiredThe tenant's keys, the two main credentials first.
Show propertiesHide properties
AppKeyItemidstringrequiredThe key's id. primary is the main publishable key and primary-secret the main secret token.
kindstringrequiredpublishable or secret.
keystring | nullThe key itself, for a publishable key. A secret token is never shown again, so this is null or left out.
namestringrequiredoriginsstring[] | nullThe origins a browser can use the key from. Empty means any origin. Left out for the main secret token.
ratePerSecondnumber<double> | nullThe most requests a second the key can make. Null when it has no limit of its own. Left out for the main secret token.
typesstring[] | nullThe luna types the key can call. Empty sets no such limit. Left out for the main secret token.
expiresMsinteger<int64> | nullWhen the key stops working, in milliseconds since the Unix epoch. 0 means it does not expire. Left out for the two main credentials.
createdMsinteger<int64> | nullWhen the key was made, in milliseconds since the Unix epoch. Left out for the two main credentials.
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.