Documentation ¶
Index ¶
- Variables
- type Account
- type Paths
- type Service
- func (svc *Service) Delete(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
- func (svc *Service) LeaseUserCreds(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
- func (svc *Service) Read(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
- func (svc *Service) Write(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
- type UserCredentialsSecret
- type UserCredsService
- func (ucSvc *UserCredsService) CompactRevocations(ctx context.Context, req *logical.Request) error
- func (ucSvc *UserCredsService) RenewUserCreds(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
- func (ucSvc *UserCredsService) RevokeUserCreds(ctx context.Context, req *logical.Request, fd *framework.FieldData) (*logical.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewPaths, NewUserCredentialsSecret, wire.Struct(new(Service), "*"), wire.Struct(new(UserCredsService), "*"), )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Secret UserCredentialsSecret Logger hclog.Logger }
func (*Service) LeaseUserCreds ¶
type UserCredentialsSecret ¶
func NewUserCredentialsSecret ¶
func NewUserCredentialsSecret(ucs *UserCredsService) UserCredentialsSecret
type UserCredsService ¶
type UserCredsService struct {
Logger hclog.Logger
}
func (*UserCredsService) CompactRevocations ¶
CompactRevocations will revoke all JWTs created for the account in the last hour period. If any tokens were manually revoked already, they will be compacted to reduce the account JWT's size.
Click to show internal directories.
Click to hide internal directories.