feat: enable key rotation (#15066)

This PR contains the remaining logic necessary to hook up key rotation
to the product.
This commit is contained in:
Jon Ayers
2024-10-25 17:14:35 +01:00
committed by GitHub
parent ccfffc6911
commit cd890aa3a0
54 changed files with 1409 additions and 1126 deletions
+2 -2
View File
@@ -124,9 +124,9 @@ func (r Request) Normalize() Request {
return req
}
// Validate ensures the request is correct and contains the necessary
// Check ensures the request is correct and contains the necessary
// parameters.
func (r Request) Validate() error {
func (r Request) Check() error {
switch r.AccessMethod {
case AccessMethodPath, AccessMethodSubdomain, AccessMethodTerminal:
default: