Secrets

Lists a feature's copy of the secrets

The copy its preview reads. The names the code reads are found in the feature's files.

get/lambdas/{privateKey}/features/{feature}/secrets

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/secrets
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

featurestring required

The key of the feature, as key in the answer that started it

Response

The feature's secrets by name, and the names its code reads

Enabledboolean

Whether the lambda has its secrets switched on (PUT …/data/secrets)

Usedstring[]

Every name the code reads with Secret.Read("…") or Secret.Exists("…") as a literal - in the version online and the newest one, or in the feature's files

Missingstring[]

The names the code reads that have no value, and that it does not ask about with Secret.Exists first: what somebody still has to enter, or the code that reads them fails

Optionalstring[]

The names the code asks about with Secret.Exists that have no value: it does without them

Limitinteger

How many secrets a lambda may keep

Changes

No recorded changes to this operation across all 1 revision of this API.