Search Secrets Shared With Me
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
SearchSecretsSharedWithMe request - for end users viewing secrets others shared with them. Automatically scoped to current user.
Include secrets the caller created and also shared with themselves. Off by default so this list stays disjoint from SearchMySecrets.
The pageSize field.
The pageToken field.
Fuzzy search by display name
Filter by secret type. Unspecified returns all secret types.
SECRET_TYPE_UNSPECIFIED, SECRET_TYPE_TEXT, SECRET_TYPE_FILE Filter by sharing mode. Unspecified returns internal secrets; external returns none.
PAPER_VAULT_SHARING_MODE_UNSPECIFIED, PAPER_VAULT_SHARING_MODE_INTERNAL, PAPER_VAULT_SHARING_MODE_EXTERNAL Filter by status. Empty returns all statuses.
SECRET_STATUS_UNSPECIFIED, SECRET_STATUS_ACTIVE, SECRET_STATUS_EXPIRED, SECRET_STATUS_BURNED, SECRET_STATUS_REVOKED, SECRET_STATUS_DATA_DELETED