Secrets

Search My Secrets

SearchMySecrets returns secrets created by the current user. Automatically scoped to current user - no user_id filter parameter.

post/api/v1/search/secrets/mine

Request body

pageSizeinteger

The pageSize field.

pageTokenstring

The pageToken field.

querystring

Fuzzy search by display name

secretType'SECRET_TYPE_UNSPECIFIED' | 'SECRET_TYPE_TEXT' | 'SECRET_TYPE_FILE'

Filter by secret type (optional)

sharingMode'PAPER_VAULT_SHARING_MODE_UNSPECIFIED' | 'PAPER_VAULT_SHARING_MODE_INTERNAL' | 'PAPER_VAULT_SHARING_MODE_EXTERNAL'

Filter by sharing mode (optional)

sortBy'SEARCH_SORT_BY_UNSPECIFIED' | 'SEARCH_SORT_BY_CREATED_DESC' | 'SEARCH_SORT_BY_CREATED_ASC' | 'SEARCH_SORT_BY_EXPIRES_ASC' | 'SEARCH_SORT_BY_NAME_ASC'

Sort order

statusesstring[] nullable

Filter by status (optional)

Response

Search response for user's own secrets

nextPageTokenstring

The nextPageToken field.

Changes

Changed in 2 of the 33 revisions of this API.52

  • f2cf3228f36651See the full diff
    • the request property statuses became not nullable

      request-property-became-not-nullable

    • the response property list/items/contentExpiresAt became nullable for the status 200

      response-property-became-nullable

    • the response property list/items/createdAt became nullable for the status 200

      response-property-became-nullable

    • the response property list/items/deletedAt became nullable for the status 200

      response-property-became-nullable

    • the response property list/items/updatedAt became nullable for the status 200

      response-property-became-nullable

    • added the optional property list/items/ageSuite to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog