-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(security): multiple encryption options, API tokens, easier setup (…
…#125) * (wip) encryption * feat: api tokens * chore: add api token generation command * fix: e2e tests * chore: set timeout for e2e job * fix: e2e tests, remove client-side certs * chore: address PR review comments * fix: token tests * chore: address review comments and fix tests
- Loading branch information
1 parent
13315cd
commit 78685d0
Showing
105 changed files
with
3,903 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,3 +85,5 @@ tmp | |
|
||
postgres-data | ||
rabbitmq.conf | ||
|
||
*encryption-keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/gitguardian/ggshield | ||
rev: v1.23.0 | ||
hooks: | ||
- id: ggshield | ||
language_version: python3 | ||
stages: [commit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
APIToken: | ||
type: object | ||
properties: | ||
metadata: | ||
$ref: "./metadata.yaml#/APIResourceMeta" | ||
name: | ||
type: string | ||
description: The name of the API token. | ||
maxLength: 255 | ||
expiresAt: | ||
type: string | ||
format: date-time | ||
description: When the API token expires. | ||
required: | ||
- metadata | ||
- name | ||
- expiresAt | ||
|
||
CreateAPITokenRequest: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
description: A name for the API token. | ||
maxLength: 255 | ||
required: | ||
- name | ||
|
||
CreateAPITokenResponse: | ||
type: object | ||
properties: | ||
token: | ||
type: string | ||
description: The API token. | ||
required: | ||
- token | ||
|
||
ListAPITokensResponse: | ||
properties: | ||
pagination: | ||
$ref: "./metadata.yaml#/PaginationResponse" | ||
rows: | ||
items: | ||
$ref: "#/APIToken" | ||
type: array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.