-
Notifications
You must be signed in to change notification settings - Fork 33
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 taint upstream authority #64
Conversation
Signed-off-by: Marcos Yacob <[email protected]>
Signed-off-by: Marcos Yacob <[email protected]>
Signed-off-by: Marcos Yacob <[email protected]>
Signed-off-by: Marcos Yacob <[email protected]>
// will perform proactive rotations of any key material related to | ||
// the tainted authority. The result of this action will be observed | ||
// cluster-wide. | ||
// It is important to change active upstream authority before taiting it, |
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.
// It is important to change active upstream authority before taiting it, | |
// It is important to change active upstream authority before tainting it, |
// the tainted authority. The result of this action will be observed | ||
// cluster-wide. | ||
// It is important to change active upstream authority before taiting it, | ||
// since taint will force the rotation of any bundle that is using |
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.
// since taint will force the rotation of any bundle that is using | |
// since tainting will force the rotation of any bundle that is using |
// It is important to change active upstream authority before taiting it, | ||
// since taint will force the rotation of any bundle that is using | ||
// the old upstream authority. | ||
// It receive the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. |
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.
// It receive the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. | |
// It receives the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. |
// the old upstream authority. | ||
// It receive the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. | ||
// | ||
// If a X.509 upstream authority does not exist or it is active, a FailedPrecondition |
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.
// If a X.509 upstream authority does not exist or it is active, a FailedPrecondition | |
// If an X.509 upstream authority does not exist or it is active, a FailedPrecondition |
// RevokeX509UpstreamAuthority revokes the previously active X.509 upstream authority by | ||
// removing it from the bundle and propagating this update throughout | ||
// the cluster. | ||
// It receive the subject key ID an old X.509 upstream authority. |
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.
// It receive the subject key ID an old X.509 upstream authority. | |
// It receives the subject key ID of the authority's CA certificate of the upstream X.509 authority to revoke. |
@@ -192,6 +236,7 @@ message RevokeX509AuthorityResponse { | |||
AuthorityState revoked_authority = 1; | |||
} | |||
|
|||
|
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.
Unnecessary blank line?
Signed-off-by: Marcos Yacob <[email protected]>
// If upstream authority is configured, local authorities can not be tainted, | ||
// a FailedPrecondition error will be returned. |
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.
// If upstream authority is configured, local authorities can not be tainted, | |
// a FailedPrecondition error will be returned. | |
// If an upstream authority is configured then local authorities cannot be tainted, | |
// and a FailedPrecondition error will be returned. |
// | ||
// If a previously active X.509 authority does not exist (e.g. if one | ||
// has been prepared but not activated yet), a FailedPrecondition | ||
// error will be returned. | ||
rpc TaintX509Authority(TaintX509AuthorityRequest) returns (TaintX509AuthorityResponse); | ||
|
||
// TaintX509UpstreamAuthority marks the provided upstream authority as | ||
// being tainted. SPIRE Agents observing an authority to be tainted |
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.
// being tainted. SPIRE Agents observing an authority to be tainted | |
// being tainted. SPIRE Agents observing a tainted authority |
// will perform proactive rotations of any key material related to | ||
// the tainted authority. The result of this action will be observed | ||
// cluster-wide. | ||
// It is important to change active upstream authority before taiting it, |
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.
// It is important to change active upstream authority before taiting it, | |
// It is important to change to a new active upstream authority before tainting the old one, |
// It is important to change active upstream authority before taiting it, | ||
// since tainting will force the rotation of any bundle that is using | ||
// the old upstream authority. | ||
// It receives the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. |
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.
// It receives the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. | |
// The X.509 authority to taint is identified using the provided X.509 Subject Key Identifier (or SKID) of the old X.509 authority. |
// the old upstream authority. | ||
// It receives the X.509 Subject Key Identifier (or SKID) of an old X.509 authority. | ||
// | ||
// If an X.509 upstream authority does not exist or it is active, a FailedPrecondition |
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.
// If an X.509 upstream authority does not exist or it is active, a FailedPrecondition | |
// If an X.509 upstream authority is not configured, or the identified upstream X.509 authority is active, a FailedPrecondition |
// RevokeX509UpstreamAuthority revokes the previously active X.509 upstream authority by | ||
// removing it from the bundle and propagating this update throughout | ||
// the cluster. | ||
// It receives the subject key ID of the authority's CA certificate of the |
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.
// It receives the subject key ID of the authority's CA certificate of the | |
// The X.509 authority to revoke is identified using the provided subject key ID of the authority's CA certificate. |
Signed-off-by: Marcos Yacob <[email protected]>
@@ -62,13 +62,31 @@ service LocalAuthority { | |||
// will perform proactive rotations of any key material related to | |||
// the tainted authority. The result of this action will be observed | |||
// cluster-wide. | |||
// It can receive the public key of an old X.509 authority. | |||
// It can receive the authority ID of an old X.509 authority. |
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.
// It can receive the authority ID of an old X.509 authority. | |
// The X.509 authority to taint is identified using the provided X.509 Subject Key | |
// Identifier (or SKID) of the old X.509 authority. |
// | ||
// If a previously active X.509 authority does not exist (e.g. if one | ||
// has been prepared but not activated yet), a FailedPrecondition | ||
// error will be returned. | ||
rpc TaintX509Authority(TaintX509AuthorityRequest) returns (TaintX509AuthorityResponse); | ||
|
||
// TaintX509UpstreamAuthority marks the provided upstream authority as | ||
// being tainted. SPIRE Agents observing a tainted authority to be tainted |
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.
// being tainted. SPIRE Agents observing a tainted authority to be tainted | |
// being tainted. SPIRE Agents observing a tainted authority |
Signed-off-by: Marcos Yacob <[email protected]>
No description provided.