Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssuersStorage ¶
type IssuersStorage struct {
// contains filtered or unexported fields
}
IssuersStorage is a key value store backed by S3 on AWS to store issuer chains.
func NewIssuerStorage ¶
func NewIssuerStorage(ctx context.Context, opts Options) (*IssuersStorage, error)
NewIssuerStorage creates a new IssuerStorage.
The specified bucket must exist or an error will be returned.
func (*IssuersStorage) AddIssuersIfNotExist ¶
AddIssuers stores Issuers values under their Key if there isn't an object under Key already.
type Options ¶
type Options struct { // Bucket is the bucket to use for storing issuers. Bucket string // SDKConfig is an optional configuration for the AWS SDK, if nil the default config will be used. SDKConfig *aws.Config // S3Options are used when creating a new AWS S3 client. This MUST be provided if SDKConfig is not nil. S3Options func(*s3.Options) }
Options holds various settings for NewIssuerStorage.
Click to show internal directories.
Click to hide internal directories.