authenticators

package
v0.1.14-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthURL

func GetAuthURL(baseURL string, authType string, serviceID string) string

GetAuthURL returns a proper LDAP Authentication authn_url for the ~/.conjurrc file

Types

type Authenticator

type Authenticator interface {
	Name() string
	Authenticate(config Config) (*conjurapi.Client, error)
}

Authenticator is used to retrieve the Conjur client. This is required because authn uses username and password to authenticate to Conjur, while authn-iam uses a token.

type Config

type Config struct {
	Account         string
	ApplianceURL    string
	Login           string
	ServiceID       string
	IgnoreSSLVerify bool
}

Config holds the configuration for the Conjur authenticator

Directories

Path Synopsis
aws
ec2
ecs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL