certificates/policy/ssh.go

10 lines
153 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 {
ArePrincipalsAllowed(cert *ssh.Certificate) (bool, error)
}