Skip to content

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

feat: added review changes

=fa02ac65a5ef
diff --git a/docs/cli/commands/login.mdx b/docs/cli/commands/login.mdx
index e0ab02bba5..aaac2986ba 100644
--- a/docs/cli/commands/login.mdx
+++ b/docs/cli/commands/login.mdx
@@ -354,6 +354,10 @@ The login command supports a number of flags that you can use for different auth
#### Description
This authenticates the machine identity against the specified sub-organization.
+ <Tip>
+ The `organization-slug` flag can be substituted with the `INFISICAL_AUTH_ORGANIZATION_SLUG` environment variable.
+ </Tip>
+
<Info>
If no organization slug is provided, the authentication session defaults to the organization where the machine identity was originally created.
</Info>
diff --git a/docs/sdks/languages/go.mdx b/docs/sdks/languages/go.mdx
index 598922cd06..b724eea4aa 100644
--- a/docs/sdks/languages/go.mdx
+++ b/docs/sdks/languages/go.mdx
@@ -395,7 +395,7 @@ if err != nil {
## Organization Authentication
-All SDK authentication methods support logging into a sub-organization that your machine identity has access to.
+All SDK authentication methods support logging into a sub-organization that your machine identity has access to. This is optional and only necessary when attempting to authenticate into a sub-organization using an identity created at the root organization.
Use the `.Auth().WithOrganizationSlug("<organization-slug>")` method to specify which organization to authenticate against: