Secrets

Search Secrets Shared With Me

Changed on

SearchSecretsSharedWithMe returns secrets shared with the current user. Automatically scoped to current user - no user_id filter parameter. INTERNAL secrets only: EXTERNAL secrets are addressed by email and are never viewable through an authenticated C1 session, so returning them here would surface rows that GetContent then denies.

post/api/v1/search/secrets/shared_with_me

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/search/secrets/shared_with_me
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Request body

includeOwnboolean

Include secrets the caller created and also shared with themselves. Off by default so this list stays disjoint from SearchMySecrets.

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. Unspecified returns all secret types.

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

Filter by sharing mode. Unspecified returns internal secrets; external returns none.

statusesstring[] nullable

Filter by status. Empty returns all statuses.

Response

Search response for user's own secrets

nextPageTokenstring

The nextPageToken field.

Changes