Documentation ¶
Index ¶
- type Config
- type UpstreamAuthority
- func (ua *UpstreamAuthority) AppendJWTKey(jwtKey *common.PublicKey)
- func (ua *UpstreamAuthority) JWTKeys() []*common.PublicKey
- func (ua *UpstreamAuthority) MintX509CA(request *upstreamauthorityv0.MintX509CARequest, ...) error
- func (ua *UpstreamAuthority) PublishJWTKey(req *upstreamauthorityv0.PublishJWTKeyRequest, ...) error
- func (ua *UpstreamAuthority) RotateX509CA()
- func (ua *UpstreamAuthority) TriggerJWTKeysChanged()
- func (ua *UpstreamAuthority) TriggerX509RootsChanged()
- func (ua *UpstreamAuthority) X509Intermediate() *x509.Certificate
- func (ua *UpstreamAuthority) X509Root() *x509.Certificate
- func (ua *UpstreamAuthority) X509Roots() []*x509.Certificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TrustDomain spiffeid.TrustDomain UseIntermediate bool DisallowPublishJWTKey bool MutateMintX509CAResponse func(*upstreamauthorityv0.MintX509CAResponse) MutatePublishJWTKeyResponse func(*upstreamauthorityv0.PublishJWTKeyResponse) }
type UpstreamAuthority ¶
type UpstreamAuthority struct { upstreamauthorityv0.UnimplementedUpstreamAuthorityServer // contains filtered or unexported fields }
func Load ¶
func Load(t *testing.T, config Config) (upstreamauthority.UpstreamAuthority, *UpstreamAuthority)
func (*UpstreamAuthority) AppendJWTKey ¶
func (ua *UpstreamAuthority) AppendJWTKey(jwtKey *common.PublicKey)
func (*UpstreamAuthority) JWTKeys ¶
func (ua *UpstreamAuthority) JWTKeys() []*common.PublicKey
func (*UpstreamAuthority) MintX509CA ¶
func (ua *UpstreamAuthority) MintX509CA(request *upstreamauthorityv0.MintX509CARequest, stream upstreamauthorityv0.UpstreamAuthority_MintX509CAServer) error
func (*UpstreamAuthority) PublishJWTKey ¶
func (ua *UpstreamAuthority) PublishJWTKey(req *upstreamauthorityv0.PublishJWTKeyRequest, stream upstreamauthorityv0.UpstreamAuthority_PublishJWTKeyServer) error
func (*UpstreamAuthority) RotateX509CA ¶
func (ua *UpstreamAuthority) RotateX509CA()
func (*UpstreamAuthority) TriggerJWTKeysChanged ¶
func (ua *UpstreamAuthority) TriggerJWTKeysChanged()
func (*UpstreamAuthority) TriggerX509RootsChanged ¶
func (ua *UpstreamAuthority) TriggerX509RootsChanged()
func (*UpstreamAuthority) X509Intermediate ¶
func (ua *UpstreamAuthority) X509Intermediate() *x509.Certificate
func (*UpstreamAuthority) X509Root ¶
func (ua *UpstreamAuthority) X509Root() *x509.Certificate
func (*UpstreamAuthority) X509Roots ¶
func (ua *UpstreamAuthority) X509Roots() []*x509.Certificate
Click to show internal directories.
Click to hide internal directories.