secrets
Retrieve all secrets for an organization.
Get all secrets for the current user’s organization.
Args:
- user: The current user, obtained via dependency injection.
- db: The database session, obtained via dependency injection.
Returns:
- A list of all secrets for the current user’s organization.
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Represents the current organisation ID for the user (example: 'org_u13TesTDumMyEe5P')
Response
200
application/json
The new secret entry just created
The response is of type SecretRead · object[]
.