GetContent retrieves the encrypted secret content for an authorized recipient. Caller must be in the secret’s allowed_user_ids list (for INTERNAL secrets). Returns content re-encrypted to caller’s ephemeral public key.
Documentation Index
Fetch the complete documentation index at: https://conductorone-groman-network-requirements-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
The vaultId field.
The PaperSecretServiceGetContentRequest message.
Client's ephemeral Age recipient (age1...) for re-encryption Server re-encrypts the content to this recipient
Successful response
The PaperSecretServiceGetContentResponse message.
This message contains a oneof named content. Only a single field of the following list may be set at a time:
The creatorUserId field.
For file secrets: presigned S3 download URL (5 minute expiry)
File is still E2E encrypted - client must decrypt after download
This field is part of the content oneof.
See the documentation for c1.api.secrets.v1.PaperSecretServiceGetContentResponse for more details.
For text secrets: Age-encrypted content (encrypted to reader's recipient)
This field is part of the content oneof.
See the documentation for c1.api.secrets.v1.PaperSecretServiceGetContentResponse for more details.
Original filename (file secrets only)
Input format hint for rendering (text secrets only)
SECRET_INPUT_FORMAT_UNSPECIFIED, SECRET_INPUT_FORMAT_PLAINTEXT, SECRET_INPUT_FORMAT_JSON, SECRET_INPUT_FORMAT_YAML, SECRET_INPUT_FORMAT_KEY_VALUE Secret metadata
SECRET_TYPE_UNSPECIFIED, SECRET_TYPE_TEXT, SECRET_TYPE_FILE Views remaining after this view (-1 = unlimited)