awspca

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 26 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.BuiltIn

Types

type Configuration added in v1.0.0

type Configuration struct {
	Region                  string `hcl:"region" json:"region"`
	Endpoint                string `hcl:"endpoint" json:"endpoint"`
	CertificateAuthorityARN string `hcl:"certificate_authority_arn" json:"certificate_authority_arn"`
	SigningAlgorithm        string `hcl:"signing_algorithm" json:"signing_algorithm"`
	CASigningTemplateARN    string `hcl:"ca_signing_template_arn" json:"ca_signing_template_arn"`
	AssumeRoleARN           string `hcl:"assume_role_arn" json:"assume_role_arn"`
	SupplementalBundlePath  string `hcl:"supplemental_bundle_path" json:"supplemental_bundle_path"`
}

Configuration provides configuration context for the plugin

type PCAClient

PCAClient provides an interface which can be mocked to test the functionality of the plugin.

type PCAPlugin

type PCAPlugin struct {
	upstreamauthorityv1.UnsafeUpstreamAuthorityServer
	configv1.UnsafeConfigServer
	// contains filtered or unexported fields
}

PCAPlugin is the main representation of this upstreamauthority plugin

func New

func New() *PCAPlugin

New returns an instantiated plugin

func (*PCAPlugin) Configure

Configure sets up the plugin for use as an upstream authority

func (*PCAPlugin) MintX509CAAndSubscribe added in v1.0.0

MintX509CA mints an X509CA by submitting the CSR to ACM to be signed by the certificate authority

func (*PCAPlugin) PublishJWTKeyAndSubscribe added in v1.0.0

PublishJWTKey is not implemented by the wrapper and returns a codes.Unimplemented status

func (*PCAPlugin) SetLogger

func (p *PCAPlugin) SetLogger(log hclog.Logger)

Jump to

Keyboard shortcuts

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