Skip to content

Commit 31ae66a

Browse files
committed
Update application.yml
1 parent d3cead2 commit 31ae66a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

oauth2-jwk-with-vault/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ Error checking seal status: Get "https://127.0.0.1:8200/v1/sys/seal-status": htt
7575
```
7676
Ensure that the `VAULT_ADDR` environment variable is configured correctly.
7777

78+
### 6. Enable the Transit Engine
79+
```shell
80+
vault secrets enable transit
81+
```
82+
83+
### 7. Create a Signing-Supported Key (e.g., RSA-2048)
84+
Use the `rsa-2048` type of key to support signing operations:
85+
```bash
86+
vault write -f transit/keys/oauth2 type="rsa-2048"
87+
```
88+
7889
## Configure Vault Token in Services
7990
Configure the Root Token in the `application.yml` files of both the authorization-service and resource-service as `${vault_token}`. After starting the services, visit [http://127.0.0.1:8070/client/test](http://127.0.0.1:8070/client/test) in your browser.
8091

0 commit comments

Comments
 (0)