Skip to content

Commit e19955a

Browse files
chore: add missing SECRET_WRITE scope
1 parent 1919ac1 commit e19955a

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Removed
10+
11+
- A bullet item for the Removed category.
12+
13+
-->
14+
<!--
15+
### Added
16+
17+
- A bullet item for the Added category.
18+
19+
-->
20+
<!--
21+
### Changed
22+
23+
- A bullet item for the Changed category.
24+
25+
-->
26+
<!--
27+
### Deprecated
28+
29+
- A bullet item for the Deprecated category.
30+
31+
-->
32+
<!--
33+
### Fixed
34+
35+
- Missing scope leading to validation errors
36+
37+
-->
38+
<!--
39+
### Security
40+
41+
- A bullet item for the Security category.
42+
43+
-->

pygitguardian/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ class TokenScope(str, Enum):
771771
CUSTOM_TAGS_READ = "custom_tags:read"
772772
CUSTOM_TAGS_WRITE = "custom_tags:write"
773773
SECRET_READ = "secrets:read"
774+
SECRET_WRITE = "secrets:write"
774775
SCAN_CREATE_INCIDENTS = "scan:create-incidents"
775776
PUBLIC_PERIMETER_VIEW = "public-perimeter:read"
776777

0 commit comments

Comments
 (0)