If you want to have one project use one org, and another project use another org, even if your account has access to both orgs, you need to re login to switch projects.
According to claude:
No — .infisical.json has no organization field. In the CLI source, the config file model only supports these fields:
type WorkspaceConfigFile struct {
WorkspaceId string `json:"workspaceId"`
DefaultEnvironment string `json:"defaultEnvironment"`
GitBranchToEnvironmentMapping map[string]string `json:"gitBranchToEnvironmentMapping"`
DefaultSecretPath string `json:"defaultSecretPath,omitempty"`
Domain string `json:"domain,omitempty"`
}
An organizationId key would be silently ignored. The organization lives in your login session token, not in project config — which is why one login can only "see" one org at a time.
If you want to have one project use one org, and another project use another org, even if your account has access to both orgs, you need to re login to switch projects.
According to claude: