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

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

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ service UpstreamAuthority {
// encountered while tracking changes to the upstream JWT keys as SPIRE
// Server will not reopen a closed stream until the next JWT key rotation.
rpc PublishJWTKeyAndSubscribe(PublishJWTKeyRequest) returns (stream PublishJWTKeyResponse);

// Returns the trust bundle of the local trust domain as seen by the upstream
// authority. Returns the current set of X.509 roots and JWT public keys
// that make up the trust bundle of the trust domain. If supported by the
// implementation, subsequent responses on the stream contain trust bundle
// updates, otherwise the stream is closed after the initial response.
//
// This RPC is optional and will return NotImplemented if unsupported.
rpc SubscribeToLocalBundle(SubscribeToLocalBundleRequest) returns (stream SubscribeToLocalBundleResponse);
}

message MintX509CARequest {
Expand Down Expand Up @@ -61,3 +70,13 @@ message PublishJWTKeyResponse {
// Required. The upstream JWT signing keys.
repeated spire.plugin.types.JWTKey upstream_jwt_keys = 1;
}

message SubscribeToLocalBundleRequest {
}

message SubscribeToLocalBundleResponse {
// Required. The trusted X.509 root authorities for the upstream authority.
repeated spire.plugin.types.X509Certificate upstream_x509_roots = 1;
// Required. The upstream JWT signing keys.
repeated spire.plugin.types.JWTKey upstream_jwt_keys = 2;
}
Loading