Documentation
¶
Index ¶
- func NewSigningKeyring(vaultSigningUrl string, username string) (agent.ExtendedAgent, error)
- type ProxyKeyring
- func (pk *ProxyKeyring) Add(key agent.AddedKey) error
- func (pk *ProxyKeyring) Close() error
- func (pk *ProxyKeyring) Extension(extensionType string, contents []byte) ([]byte, error)
- func (pk *ProxyKeyring) List() ([]*agent.Key, error)
- func (pk *ProxyKeyring) Listen() (string, error)
- func (pk *ProxyKeyring) Lock(passphrase []byte) error
- func (pk *ProxyKeyring) Remove(key ssh.PublicKey) error
- func (pk *ProxyKeyring) RemoveAll() error
- func (pk *ProxyKeyring) Serve() error
- func (pk *ProxyKeyring) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (pk *ProxyKeyring) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (pk *ProxyKeyring) Signers() ([]ssh.Signer, error)
- func (pk *ProxyKeyring) Unlock(passphrase []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSigningKeyring ¶
func NewSigningKeyring(vaultSigningUrl string, username string) (agent.ExtendedAgent, error)
Types ¶
type ProxyKeyring ¶
type ProxyKeyring struct {
// contains filtered or unexported fields
}
func NewProxyKeyring ¶
func NewProxyKeyring(upstreamAuthSock string, vaultSigningUrl string, validPrincipals string) (*ProxyKeyring, error)
func (*ProxyKeyring) Close ¶
func (pk *ProxyKeyring) Close() error
func (*ProxyKeyring) Extension ¶
func (pk *ProxyKeyring) Extension(extensionType string, contents []byte) ([]byte, error)
func (*ProxyKeyring) Listen ¶
func (pk *ProxyKeyring) Listen() (string, error)
func (*ProxyKeyring) Lock ¶
func (pk *ProxyKeyring) Lock(passphrase []byte) error
func (*ProxyKeyring) RemoveAll ¶
func (pk *ProxyKeyring) RemoveAll() error
func (*ProxyKeyring) Serve ¶
func (pk *ProxyKeyring) Serve() error
func (*ProxyKeyring) SignWithFlags ¶
func (pk *ProxyKeyring) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
func (*ProxyKeyring) Unlock ¶
func (pk *ProxyKeyring) Unlock(passphrase []byte) error
Click to show internal directories.
Click to hide internal directories.