Skip to content

Commit 5bac997

Browse files
committed
Ajustando lugares onde as chaves ainda eram menores
related #473
1 parent bb376b4 commit 5bac997

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

aulas/06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ from zoneinfo import ZoneInfo
132132

133133
from jwt import encode
134134

135-
SECRET_KEY = 'your-secret-key' # Isso é provisório, vamos ajustar!
135+
SECRET_KEY = 'your-very-secret-and-exclusive-key' # Isso é provisório, vamos ajustar!
136136
ALGORITHM = 'HS256'
137137
ACCESS_TOKEN_EXPIRE_MINUTES = 30
138138

aulas/07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ Conforme mencionamos na aula sobre os 12 fatores, é uma boa prática manter as
609609
Por exemplo, temos estas constantes em nosso módulo `security.py`:
610610

611611
```python
612-
SECRET_KEY = 'your-secret-key' # Isso é provisório, vamos ajustar!
612+
SECRET_KEY = 'your-very-secret-and-exclusive-key' # Isso é provisório, vamos ajustar!
613613
ALGORITHM = 'HS256'
614614
ACCESS_TOKEN_EXPIRE_MINUTES = 30
615615
```

aulas/13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Secrets are staged for the first deployment
225225
Seguida pela variável `SECRET_KEY`:
226226

227227
```shell title="$ Execução no terminal!"
228-
flyctl secrets set SECRET_KEY="your-secret-key"
228+
flyctl secrets set SECRET_KEY="your-very-secret-and-exclusive-key"
229229
Secrets are staged for the first deployment
230230
```
231231

codigo_das_aulas/06/fast_zero/security.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from fast_zero.database import get_session
1313
from fast_zero.models import User
1414

15-
SECRET_KEY = 'your-secret-key' # Isso é provisório, vamos ajustar!
15+
SECRET_KEY = 'your-very-secret-and-exclusive-key' # Isso é provisório
1616
ALGORITHM = 'HS256'
1717
ACCESS_TOKEN_EXPIRE_MINUTES = 30
1818
pwd_context = PasswordHash.recommended()

slides/brutos/aula_06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ from zoneinfo import ZoneInfo
323323

324324
from jwt import encode
325325

326-
SECRET_KEY = 'your-secret-key' # Isso é privisório, vamos ajustar!
326+
SECRET_KEY = 'your-very-secret-and-exclusive-key' # Isso é privisório
327327
ALGORITHM = 'HS256'
328328
ACCESS_TOKEN_EXPIRE_MINUTES = 30
329329

slides/brutos/aula_07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Movendo as constantes para variáveis de ambiente
389389
### O problema com os 12 fatores
390390

391391
```python
392-
SECRET_KEY = 'your-secret-key'
392+
SECRET_KEY = 'your-very-secret-and-exclusive-key'
393393
ALGORITHM = 'HS256'
394394
ACCESS_TOKEN_EXPIRE_MINUTES = 30
395395
```

0 commit comments

Comments
 (0)