athenz

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: Apache-2.0 Imports: 9 Imported by: 1

README

Athenz Plugin

The Athenz plugin uses Athenz to authorize requests to the yFuzz API.

Requests are authenticated with mutual TLS, so the todo setting must be enabled in the CLI config.

Configuration

Plugins in yFuzz are configured in the config.yaml file. The following options are available for the athenz plugin:

  • url: URL for your Athenz server.
  • cert-file: Path to the x509 certificate associated with your Athenz service.
  • key-file: Path to the private key associated with the certificate.
  • ca-issuer-name: The name of the CA used by your Athenz instance.
  • action and resource: Athenz principals must be authorized to perform action on resource to be able to access the yFuzz API.
plugins:
  # Information for Athenz (see http://athenz.io/)
  - athenz:
      url: https://your-athenz-server.com/zms/v1
      cert-file: /path/to/athenz/cert
      key-file: /path/to/athenz/key
      ca-issuer-name: Athenz CA Name
      action: access
      resource: yfuzz:yfuzz

See Also

Documentation

Overview

Package athenz is an authentication/authorization middleware for connecting yFuzz to Athenz (http://www.athenz.io).

Index

Constants

This section is empty.

Variables

View Source
var Plugin athenz

Plugin is the exported yFuzz plugin.

Functions

func Middleware

func Middleware(h http.Handler) http.Handler

Middleware initializes a connection to Athenz for use in verifying users have permission to access yFuzz.

Types

This section is empty.

Jump to

Keyboard shortcuts

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