Skip to content

Commit 7cca836

Browse files
docs: add raw/endraw tags to fix braces in JFrog OIDC page (#56924)
1 parent 63a325e commit 7cca836

File tree

1 file changed

+8
-0
lines changed
  • content/actions/how-tos/secure-your-work/security-harden-deployments

1 file changed

+8
-0
lines changed

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-jfrog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ In your {% data variables.product.prodname_actions %} workflow file, ensure you
5555

5656
The following example uses the placeholders `YOUR_PROVIDER_NAME` and `YOUR_AUDIENCE`.
5757

58+
{% raw %}
59+
5860
```yaml
5961
permissions:
6062
id-token: write
@@ -77,13 +79,17 @@ jobs:
7779

7880
```
7981

82+
{% endraw %}
83+
8084
> [!TIP]
8185
> When OIDC authentication is used, the `setup-jfrog-cli` action automatically provides `oidc-user` and `oidc-token` as step outputs.
8286
> These can be used for other integrations that require authentication with JFrog.
8387
> To reference these outputs, ensure the step has an explicit `id` defined (for example `id: setup-jfrog-cli`).
8488
8589
### Using OIDC Credentials in other steps
8690

91+
{% raw %}
92+
8793
```yaml
8894
- name: Sign in to Artifactory Docker registry
8995
uses: docker/login-action@v3
@@ -93,6 +99,8 @@ jobs:
9399
password: ${{ steps.setup-jfrog-cli.outputs.oidc-token }}
94100
```
95101
102+
{% endraw %}
103+
96104
## Further reading
97105
98106
* [OpenID Connect Integration](https://jfrog.com/help/r/jfrog-platform-administration-documentation/openid-connect-integration) in the JFrog documentation

0 commit comments

Comments
 (0)