certificates/policy/ssh.go

10 lines
156 B
Go
Raw Normal View History

2022-01-17 22:36:13 +00:00
package policy
import (
"golang.org/x/crypto/ssh"
)
type SSHNamePolicyEngine interface {
2022-03-31 14:12:29 +00:00
IsSSHCertificateAllowed(cert *ssh.Certificate) (bool, error)
2022-01-17 22:36:13 +00:00
}