Zum Hauptinhalt springen
POST
Ein Secret auf Organisationsebene erstellen

Berechtigungen

Erfordert einen Servicebenutzer oder ein persönliches Zugriffstoken mit der Berechtigung ManageOrgSecrets auf Organisationsebene.

Autorisierungen

Authorization
string
header
erforderlich

Anmeldedaten für Service-Benutzer (Präfix: cog_)

Pfadparameter

org_id
string
erforderlich

Organisations-ID (Präfix: org-)

Beispiel:

"org-abc123def456"

Body

application/json
type
enum<string>
erforderlich
Verfügbare Optionen:
cookie,
key-value,
totp
key
string
erforderlich
value
string
erforderlich
is_sensitive
boolean
Standard:true
note
string | null

Antwort

Erfolgreiche Antwort

secret_id
string
erforderlich
key
string | null
erforderlich
note
string | null
erforderlich
is_sensitive
boolean
erforderlich
created_by
string
erforderlich
created_at
integer
erforderlich
secret_type
enum<string>
erforderlich
Verfügbare Optionen:
cookie,
key-value,
totp
access_type
enum<string>
erforderlich
Verfügbare Optionen:
org,
personal
updated_at
integer | null
updated_by
string | null