certificates/policy/ssh.go
2022-03-31 16:12:29 +02:00

9 lines
156 B
Go

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