mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +00:00
Merge pull request #4902 from Infisical/chore/dotnet-ladap-auth-docs
chore: add LDAP authentication example and parameters to .NET SDK docs
This commit is contained in:
@@ -118,6 +118,22 @@ var _ = await sdk.Auth().UniversalAuth().LoginAsync(
|
|||||||
- `clientId` (string): The client ID of your Machine Identity.
|
- `clientId` (string): The client ID of your Machine Identity.
|
||||||
- `clientSecret` (string): The client secret of your Machine Identity.
|
- `clientSecret` (string): The client secret of your Machine Identity.
|
||||||
|
|
||||||
|
### LDAP Auth
|
||||||
|
|
||||||
|
#### Authenticating
|
||||||
|
```cs
|
||||||
|
var _ = await sdk.Auth().LdapAuth().LoginAsync(
|
||||||
|
"IDENTITY_ID",
|
||||||
|
"USERNAME",
|
||||||
|
"PASSWORD"
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Parameters:**
|
||||||
|
- `identityId` (string): The ID of your Machine Identity .
|
||||||
|
- `username` (string): The LDAP username for authentication.
|
||||||
|
- `password` (string): The LDAP password for authentication.
|
||||||
|
|
||||||
### `Secrets()`
|
### `Secrets()`
|
||||||
|
|
||||||
The `Secrets()` sub-class handles operations related to the Infisical secrets management product.
|
The `Secrets()` sub-class handles operations related to the Infisical secrets management product.
|
||||||
|
|||||||
Reference in New Issue
Block a user