okta

package
v0.0.0-...-a0f6db5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() *backend

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Types

type CLIHandler

type CLIHandler struct{}

CLIHandler struct

func (*CLIHandler) Auth

func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (*api.Secret, error)

Auth cli method

func (*CLIHandler) Help

func (h *CLIHandler) Help() string

Help method for okta cli

type ConfigEntry

type ConfigEntry struct {
	tokenutil.TokenParams

	Org           string        `json:"organization"`
	Token         string        `json:"token"`
	BaseURL       string        `json:"base_url"`
	Production    *bool         `json:"is_production,omitempty"`
	TTL           time.Duration `json:"ttl"`
	MaxTTL        time.Duration `json:"max_ttl"`
	BypassOktaMFA bool          `json:"bypass_okta_mfa"`
}

ConfigEntry for Okta

func (*ConfigEntry) OktaClient

func (c *ConfigEntry) OktaClient(ctx context.Context) (oktaShim, error)

OktaClient creates a basic okta client connection

type GroupEntry

type GroupEntry struct {
	Policies []string
}

type UserEntry

type UserEntry struct {
	Groups   []string
	Policies []string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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