Skip to main content
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#overview

SecretMetadata

Metadata returned by secret read operations. Secret values are not included.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1lhjc44i8n#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1lhjc44i8n#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-1lhjc44i8n#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-nameSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-namenamestringOptionalName identifying the secret within its project.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-projectidSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-projectidprojectIdstringOptionalIdentifier of the project within the tenant that scopes this secret. default identifies the default project.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-descriptionSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-descriptiondescriptionstringOptionalHuman-readable explanation of the secret.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-labelsSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-labelslabelsMap from string to stringOptionalFree-form labels used to organize and identify secrets. Free-form, e.g. {"kind": "mcp-auth"}.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-versionSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-versionversionstring (int64)OptionalVersion number of the stored secret metadata. Increments on every PutSecret. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-createdbySection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-createdbycreatedBystringOptionalSubject identifier recorded for the creator of this record. Subject from the X-User-ID header, when present.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-createdatSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-createdatcreatedAtstring (date-time)OptionalTime this record was created.
Section ID: DOC-API-MODEL-schema-1lhjc44i8n#field-updatedatSection ID: DOC-API-MODEL-schema-1lhjc44i8n#response-field-updatedatupdatedAtstring (date-time)OptionalTime this record was most recently updated.

Where used​

Section ID: DOC-API-MODEL-schema-1lhjc44i8n#where-used

ReferenceRelationship
Get a secret's metadataPOST /api/v1/secrets/get-metadata
List secretsPOST /api/v1/secrets/list
Create or update a secretPOST /api/v1/secrets/put

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1lhjc44i8n