Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge pull request #6740 from Infisical/bernie/kms-14-remove-machine-identities-from-kmip-server-registration

Bernie Gad3c13444d67
diff --cc backend/src/services/auth/auth-type.ts
index a183e82edc,daf60f616f..7f9ccc5f8a
--- a/backend/src/services/auth/auth-type.ts
+++ b/backend/src/services/auth/auth-type.ts
@@@ -42,11 -43,9 +43,12 @@@ export enum AuthMode
IDENTITY_ACCESS_TOKEN = "identityAccessToken",
SCIM_TOKEN = "scimToken",
MCP_JWT = "mcpJwt",
+ // Delegated OAuth 2.0 access tokens issued via the authorization code flow. These are NOT
+ // first-party dashboard sessions: a route must explicitly opt into AuthMode.OAUTH to accept them.
+ OAUTH = "oauth",
GATEWAY_ACCESS_TOKEN = "gatewayAccessToken",
- RELAY_ACCESS_TOKEN = "relayAccessToken"
+ RELAY_ACCESS_TOKEN = "relayAccessToken",
+ KMIP_SERVER_ACCESS_TOKEN = "kmipServerAccessToken"
}
export enum ActorType { // would extend to AWS, Azure, ...