secrets
Create a new secret entry in the DB. These are typically used/needed to access datasets in protected cloud storage.
Create a new secret entry in the database.
Secrets are typically used/needed to access datasets in protected cloud storage and can be different for each platform (e.g. GCP, AWS, Azure).
Args:
- body: The request body containing the new secret details.
- user: The current user, obtained via dependency injection.
- db: The database session, obtained via dependency injection.
Returns:
- The newly created secret details as a JSON response.
POST
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')
Body
application/json
Response
200
application/json
The new secret entry just created
The response is of type object
.