mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 02:26:26 +00:00
Begin v3 secrets
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
import express from 'express';
|
||||||
|
const router = express.Router();
|
||||||
|
import {
|
||||||
|
requireAuth, validateRequest
|
||||||
|
} from '../../middleware';
|
||||||
|
import { body } from 'express-validator';
|
||||||
|
|
||||||
|
router.post(
|
||||||
|
'/',
|
||||||
|
body('workspaceId').exists().isString().trim(),
|
||||||
|
body('environment').exists().isString().trim(),
|
||||||
|
body('secretType').exists().isString(),
|
||||||
|
validateRequest,
|
||||||
|
async (req, res) => {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
export default router;
|
||||||
Reference in New Issue
Block a user