mirror of
https://github.com/Infisical/infisical.git
synced 2026-05-02 03:02:03 -04:00
feat: added review changes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user