Functions

List org-level (global) secrets

Changed on

Returns metadata for every org-level secret. Org secrets apply to every function in the org and are read as env.<KEY> in handlers. Values are never returned. Secret writes are write-only. A function-level secret of the same name overrides the org-level value for that function.

get/org/secrets

Request

  • Base URL: https://api.primitive.dev/v1
  • URL: https://api.primitive.dev/v1/org/secrets
  • Auth: HTTP bearer

Response

List of org secrets (metadata only, no values)

successboolean required

Changes

    • info

      removed the invalid_signup_code enum value from the / response property for the response status

    • warning

      added the new not_a_repeating_send enum value to the / response property for the response status

    • warning

      added the new repeat_idle_requires_internal_recipient enum value to the / response property for the response status

    • warning

      added the new repeat_recipient_external enum value to the / response property for the response status

    • warning

      added the new repeat_stop_not_allowed enum value to the / response property for the response status

    • warning

      added the new repeat_unsupported enum value to the / response property for the response status