Skip to content

Commit 62f35c1

Browse files
committed
Update docs
1 parent 8156d6d commit 62f35c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jfrog-applications/jfrog-cli/get-started/configurations/jfrog-platform-configuration.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jf atc toad
5353

5454
The **config add** and **config edit** commands are used to add and edit JFrog Platform server configuration, stored in JFrog CLI's configuration storage. These configured servers can be used by the other commands. The configured servers' details can be overridden per command by passing in alternative values for the URL and login credentials. The values configured are saved in a file under the JFrog CLI home directory.
5555

56-
Starting from version 2.75.0, `jf c add` supports authentication using OIDC tokens. This is particularly useful for CI environments. When using OIDC, the command must be run in non-interactive mode (e.g. using `--interactive=false`).
5756

5857
| | |
5958
|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -86,7 +85,7 @@ Starting from version 2.75.0, `jf c add` supports authentication using OIDC toke
8685

8786
### Adding a Server with OIDC Authentication
8887

89-
You can now configure a JFrog CLI server using an OIDC authentication.
88+
Starting from version 2.75.0, jf c add supports authentication using OIDC.
9089

9190
This is used internally when using the CLI inside a CI/CD pipeline, where the OIDC token is provided by the CI/CD system (e.g., GitHub Actions).
9291

@@ -102,15 +101,15 @@ OIDC access tokens are not renewable. They are intended for one-time use during
102101
This functionality is primarily designed for CI/CD pipelines use.
103102

104103
##### Example (non-interactive-only):
105-
```sh
104+
```
106105
jf c add \
107106
--url=https://platform.jfrog.io \
108107
--oidc-provider-name=setup-jfrog-cli-test \
109108
--interactive=false
110109
```
111110

112111
Make sure the following environment variable is injected:
113-
```sh
112+
```
114113
export JFROG_CLI_OIDC_EXCHANGE_TOKEN_ID=<your_oidc_token>
115114
```
116115

0 commit comments

Comments
 (0)