Skip to content

Commit

Permalink
Fix TTL mistake in a partial (#50447)
Browse files Browse the repository at this point in the history
Closes #47068

The TTL shown in a `tctl auth sign` command does not correspond to the
description of the TTL. Fix the description while making the TTL an
integer divisible by 24.
  • Loading branch information
ptgott authored Dec 23, 2024
1 parent c797fa1 commit 65f9971
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ the database, follow these instructions on your workstation:
```
1. Export Teleport's certificate authority and a generate certificate/key pair.
This example generates a certificate with a 1-year validity period.
This example generates a certificate with a 90-day validity period.
`db.example.com` is the hostname where the Teleport Database Service can
reach the {{ dbname }} server.

```code
$ tctl auth sign --format={{ format }} --host=db.example.com --out=server --ttl=2190h
$ tctl auth sign --format={{ format }} --host=db.example.com --out=server --ttl=2160h
```

(!docs/pages/includes/database-access/ttl-note.mdx!)
Expand Down

0 comments on commit 65f9971

Please sign in to comment.