certificates/policy/ssh.go
2022-01-17 23:36:13 +01:00

9 lines
153 B
Go

package policy
import (
"golang.org/x/crypto/ssh"
)
type SSHNamePolicyEngine interface {
ArePrincipalsAllowed(cert *ssh.Certificate) (bool, error)
}