Create a new secret entry in the DB. These are typically used/needed to access datasets in protected cloud storage.
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
Create a new secret entry in the DB. These are typically used/needed to access datasets in protected cloud storage.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Available options:
plain-text, plain-json, client-id-secret, token, username-password, google-cloud:service-account-key, aws:access-keys, azure:storage-account, salesforce:client-credential, sharepoint:client-secret