Skip to content

Commit

Permalink
docs: command -> env var
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Oct 16, 2024
1 parent ba0f910 commit 25f3765
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .docs/content/1.concepts/3.authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,21 @@ InitServices__Authentication__Roles__1='{"Name": "Role2", "Permissions": ["Submi

#### Specify users

To specify a user with the name "User1" with the role "Role1", use the following command:
To specify a user with the name "User1" with the role "Role1", use the following environment variable:

```bash
InitServices__Authentication__Users__0='{"Name": "User1", "Roles": ["Role1"]})'
```

#### Specify certificates

To insert a certificate with Common Name "CN1" and Fingerprint "FP1" associated with the User called "User1", use the following command:
To insert a certificate with Common Name "CN1" and Fingerprint "FP1" associated with the User called "User1", use the following environment variable:

```javascript
InitServices__Authentication__UserCertificates__0='{"User": "User1", "CN": "CN1", "Fingerprint": "FP1"}'
```

To insert an entry matching all certificates with Common Name "CN1" associated with the User called "User1", use the following command:
To insert an entry matching all certificates with Common Name "CN1" associated with the User called "User1", use the following environment variable:

```javascript
InitServices__Authentication__UserCertificates__0='{"User": "User1", "CN": "CN1"}'
Expand Down

0 comments on commit 25f3765

Please sign in to comment.