Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Merge pull request #8373 from Infisical/scott/agent-vault-flat-members
Scott Wilson57323735a823
diff --cc backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.tsindex d4d92407d0,f89b908e67..3a24124058--- a/backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.ts+++ b/backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.ts@@@ -34,13 -34,9 +35,12 @@@ importAgentVaultMemberSchema,AgentVaultNameSchema,AgentVaultProductMemberSchema,- AgentVaultRemovedMemberSchema,AgentVaultServiceSchema,AgentVaultSubstitutionsInputSchema,- AgentVaultSubstitutionsUpdateSchema+ AgentVaultSubstitutionsUpdateSchema,+ AgentVaultVariableKeySchema,+ AgentVaultVariableSchema,+ AgentVaultVariableValueSchema} from "./agent-vault-schemas";const AccessBundleDescriptionSchema = zdiff --cc backend/src/lib/api-docs/constants.tsindex 9015464931,bf3139b4a9..e2ddbd4e80--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@@ -4398,34 -4304,13 +4398,33 @@@ export const AGENT_VAULT =substitutionId:"The ID of the substitution. Send it to change that substitution in place. Omit it to match by placeholder.",placeholder:- "The fake value your agent already sends. The proxy replaces it with the real secret. Matched as a plain string, so a distinctive placeholder is worth choosing.",+ "The fake value your agent already sends. The proxy replaces it with the real secret. Matched as a plain string, so a distinctive placeholder is worth choosing. Can't contain `{{` or `}}`.",surfaces: "Where in the request to look for the placeholder: path, query, header or body.",- substitutionValue: "The real value the placeholder is replaced with. Never returned once saved.",- updateSubstitutionValue: "The real value the placeholder is replaced with. Omit to keep the value already stored."+ substitutionValue: `The real value the placeholder is replaced with. ${AGENT_VAULT_VARIABLE_REFERENCES} Never returned once saved.`,+ updateSubstitutionValue: `The real value the placeholder is replaced with. ${AGENT_VAULT_VARIABLE_REFERENCES} Omit to keep the value already stored.`,+ variableReferences:+ "The variables this service's credential, custom header values and substitution values use. Not returned to Agent Vault members, since only admins can see variables.",+ referenceField:+ "Which value uses the variable: credential-value (a bearer token or a basic password), credential-username, custom-header or substitution.",+ referenceCustomHeaderId: "The custom header whose value uses the variable.",+ referenceSubstitutionId: "The substitution whose value uses the variable."+ },+ VARIABLE: {+ variableId: "The ID of the variable.",+ key: "The name services use to refer to the variable, as `{{KEY}}`. Starts with a letter and uses only upper case letters, numbers and underscores.",+ value: "The value the proxy puts in place of each `{{KEY}}`.",+ updateValue: "The value the proxy puts in place of each `{{KEY}}`. Omit to keep the stored value.",+ isSecret: "Whether the value is hidden once saved. A secret value is only returned by the value endpoint.",+ listedValue:+ "The value, for a variable that is not secret. Null for a secret one: read it from the value endpoint.",+ revealedValue: "The variable's value.",+ serviceIds:+ "The IDs of the services in the access bundle that use this variable. A variable in use can't be deleted.",+ createdAt: "When the variable was added to the access bundle.",+ updatedAt: "When the variable was last changed."},MEMBER: {- memberId: "The ID of the access bundle membership.",- createdAt: "When the access bundle was granted.",+ grantedAt: "When the access bundle was granted.",userId: "The ID of the user whose Agent Vault membership this is.",identityId: "The ID of the machine identity whose Agent Vault membership this is.",groupId: "The ID of the group whose Agent Vault membership this is.",