Abdullah Alaqeel
01/30/2025, 10:40 AMintegration_name/
-- default
-- user_id
...
-- user_id
where default has only dev creds, and the other users have only prod creds
we then get the values by:
const credentials = await client.getSecret({
environment: process.env.INFISICAL_ENV,
projectId: process.env.INFISICAL_PROJECT_ID,
path: '/SMS_PROVIDER',
secretName: process.env.INFISICAL_ENV === 'dev' ? 'default' : userId,
})