Skip to content
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

Add preferred_ttl field to SVID.NewDownstreamX509CA #60

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 65 additions & 51 deletions proto/spire/api/server/svid/v1/svid.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions proto/spire/api/server/svid/v1/svid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ message NewDownstreamX509CARequest {
// CSR is only used to convey the public key; other fields in the CSR are
// ignored. The X509-SVID attributes are determined by the downstream entry.
bytes csr = 1;

// Optional. The TTL preferred by the downstream SPIRE Server for the
// signed intermediate CA. If zero, the upstream SPIRE Server will use its
// own default.
int32 preferred_ttl = 2;
}

message NewDownstreamX509CAResponse {
Expand Down
5 changes: 1 addition & 4 deletions proto/spire/api/types/logger.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions proto/spire/api/types/logger.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";
package spire.api.types;
option go_package = "github.com/spiffe/spire-api-sdk/proto/spire/api/types";

import "google/protobuf/wrappers.proto";

// The logger log levels.
enum LogLevel {
UNSPECIFIED = 0;
Expand Down
Loading