identity

package
v0.0.0-...-b0ce39f Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2020, Verizon Media Inc. Licensed under the terms of the 3-Clause BSD license. See LICENSE file in github.com/yahoo/k8s-athenz-identity for terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitIdentityHandler

func InitIdentityHandler(config *IdentityConfig) (*identityHandler, error)

InitIdentityHandler initializes the ZTS client and parses the config to create CSR options

Types

type IdentityConfig

type IdentityConfig struct {
	Init            bool
	KeyFile         string
	CertFile        string
	CaCertFile      string
	Refresh         time.Duration
	Reloader        *util.CertReloader
	ServerCACert    string
	SaTokenFile     string
	Endpoint        string
	ProviderService string
	DNSSuffix       string
	Namespace       string
	ServiceAccount  string
	PodIP           string
	PodUID          string
}

IdentityConfig from cmd line args

Jump to

Keyboard shortcuts

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