feat: added review changes

This commit is contained in:
=
2026-01-31 00:39:47 +05:30
parent 6bb9f0490b
commit fa02ac65a5
2 changed files with 5 additions and 1 deletions

View File

@@ -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>

View File

@@ -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: