-
Notifications
You must be signed in to change notification settings - Fork 524
Serving cert file OIDC provider #4190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rturner3
merged 29 commits into
spiffe:main
from
guilhermocc:serving-cert-file-oidc-provider
Jul 4, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d7513e0
Add disk cert manager
guilhermocc 9a8c675
Add serving_cert_file config to oidc discovery provider in unix
guilhermocc cbef8cf
Add serving cert file config for windows
guilhermocc 125d274
Fix update tests on linux
guilhermocc e5e56a9
Fix rebase conflicts
guilhermocc 67b20fb
Update documentation
guilhermocc eddf53c
Fix race condition
guilhermocc 91a7695
Fix lint in windows
guilhermocc c02a6da
Fix timed assertions
guilhermocc 915b914
Fix windows test
guilhermocc 09acd52
Print cert manager logs on failed test
guilhermocc fcba21a
Remove fsnotify usage
guilhermocc fb9bd71
Refactor tests
guilhermocc 61d8e65
Fix tests on windows
guilhermocc e43b173
Fix file sync
guilhermocc af12dbe
Make file sync interval configurable
guilhermocc 75123b3
Refactor some comments
guilhermocc e4f2e0c
Address comments for unix platform
guilhermocc 85abb9a
Address comments for windows platform
guilhermocc 50eb322
Address comments to use context for ending goroutines
guilhermocc 9f5da60
Fix tests on windows
guilhermocc 3d36f1f
Address PR comments
guilhermocc d47e082
Enable user to select the address for serving the https service
guilhermocc 8cacc0a
Fix lint
guilhermocc 996e427
Fix windows tests
guilhermocc dceafe0
Update default HTTPS port
guilhermocc c18537e
Fix flaky tests
guilhermocc c9c3612
Remove duplicated documentation
guilhermocc 4b2b816
Merge branch 'main' into serving-cert-file-oidc-provider
rturner3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -57,13 +57,13 @@ The configuration file is **required** by the provider. It contains | |
|
||
#### Considerations for Unix platforms | ||
|
||
[1]: One of `acme`, `serving_cert_file`, `listen_socket_path` must be defined. | ||
[1]: One of `acme`, `serving_cert_file` or `listen_socket_path` must be defined. | ||
|
||
[3]: The `allow_insecure_scheme` should only be used in a local development environment for testing purposes. It only works in conjunction with `insecure_addr` or `listen_socket_path`. | ||
|
||
#### Considerations for Windows platforms | ||
|
||
[1]: One of `acme`, `serving_cert_file`, `listen_named_pipe_name` must be defined. | ||
[1]: One of `acme`, `serving_cert_file` or `listen_named_pipe_name` must be defined. | ||
|
||
[3]: The `allow_insecure_scheme` should only be used in a local development environment for testing purposes. It only works in conjunction with `insecure_addr` or `listen_named_pipe_name`. | ||
|
||
|
@@ -91,11 +91,13 @@ will terminate if another domain is requested. | |
|
||
#### Serving Certificate Section | ||
|
||
| Key | Type | Required? | Description | Default | | ||
|----------------------|----------|-----------|--------------------------------------------------------------------|----------| | ||
| `cert_file_path` | string | required | The certificate file path, the file must contain PEM encoded data. | | | ||
| `key_file_path` | string | required | The private key file path, the file must contain PEM encoded data. | | | ||
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute | | ||
| Key | Type | Required? | Description | Default | | ||
|----------------------|----------|-----------|--------------------------------------------------------------------|------------| | ||
| `cert_file_path` | string | required | The certificate file path, the file must contain PEM encoded data. | | | ||
| `key_file_path` | string | required | The private key file path, the file must contain PEM encoded data. | | | ||
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute | | ||
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute | | ||
| `addr` | string | optional | Exposes the service on the given address. | :433 | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 443 should be the default (multiple places to fix) |
||
|
||
#### Server API Section | ||
|
||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.