Skip to content

Commit

Permalink
Code review: fix typo and rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
George Ciltaru committed Sep 20, 2023
1 parent cbaf187 commit 7f6d60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/guides/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Secrets

# Exchanging Secret credentials

There are 5 types of secrets, `oauth2-client_credentials`, `oauth2-jwt`, `oauth2-google`, `simple-http`, and `token`. The `credentials` object for each type has different required attributes.
The available secret types are: `oauth2-client_credentials`, `oauth2-jwt`, `oauth2-google`, `simple-http`, and `token`. The `credentials` object for each type has different required attributes.

## `oauth2-client_credentials` credentials

Expand Down Expand Up @@ -41,7 +41,7 @@ In case of failure, the information is available in the `status_details` attribu
- `ttl` - Integer - Required - The JWT ttl. The `exp` claim is computed using this value.
- `alg` - Text - Required - The algorithm used to sign the JWT. Currently, only `RS256` is supported.
- `custom_claims` - Object - Optional - Key/Value pairs of JWT custom claims.
- `token_url` - Text - Optional - The token url of the oauth2 integration. If this value is not included, the JWT will ve used as `access_token`.
- `token_url` - Text - Optional - The token url of the oauth2 integration. If this value is not included, the JWT will be used as `access_token`.
- `private_key_id` - Text - Optional - The private key id. This value will be added to the `kid` JWT header.
- `private_key` - Text - Required - The private key used to sign to JWT.
- `refresh_offset` - Integer - Optional - The value, in seconds, used to offset the refresh operation. If not set, an implicit `1800` (30 minutes) will be used.
Expand Down

0 comments on commit 7f6d60b

Please sign in to comment.