keystone

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package keystone provides authentication strategy using Keystone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Domain        string `json:"domain"`
	Host          string `json:"keystoneHost"`
	AdminUsername string `json:"keystoneUsername"`
	AdminPassword string `json:"keystonePassword"`
}

Config holds the configuration parameters for Keystone connector. Keystone should expose API v3 An example config:

connectors:
	type: keystone
	id: keystone
	name: Keystone
	config:
		keystoneHost: http://example:5000
		domain: default
		keystoneUsername: demo
		keystonePassword: DEMO_PASS

func (*Config) Open

func (c *Config) Open(id string, logger log.Logger) (connector.Connector, error)

Open returns an authentication strategy using Keystone.

Jump to

Keyboard shortcuts

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