Skip to content

Commit 2fc1894

Browse files
committed
docs: Update README with rotate token information
1 parent 3d36a9f commit 2fc1894

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -313,21 +313,21 @@ to force a rotation of the main token. This would create a new token with the sa
313313
$ vault write -f gitlab/config/default/rotate
314314
Key Value
315315
--- -----
316-
lease_id gitlab/config/default/rotate/Ils8dp7PDXSWgb5dF4I2NPPS
317-
lease_duration 768h
318-
lease_renewable false
319-
auto_rotate_before 64h0m0s
320-
auto_rotate_token true
316+
auto_rotate_before 48h0m0s
317+
auto_rotate_token false
321318
base_url http://localhost:8080
322319
name default
323320
scopes api, read_api, read_user, sudo, admin_mode, create_runner, k8s_proxy, read_repository, write_repository, ai_features, read_service_ping
324-
token_created_at 2024-07-11T18:53:46Z
325-
token_expires_at 2024-10-12T20:02:11Z
326-
token_id 76
327-
token_sha1_hash 10e413692b345809f6b4db57c5d38fadaacbf9be
328-
type saas
321+
token glpat-VhoWnWJ7RYwE78dn7Nsj
322+
token_created_at 2024-10-15T12:57:47Z
323+
token_expires_at 2025-10-15T00:00:00Z
324+
token_id 43
325+
token_sha1_hash 91a91bb30f816770081c570504c5e2723bcb1f38
326+
type self-managed
329327
```
330328
329+
**Important**: Token will be showed after rotation, it will not be shown again.
330+
331331
## Upgrading
332332
333333
```shell

0 commit comments

Comments
 (0)