jwtsource

package
v1.13.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

internal/cyberark/jwtsource/jwtsource.go

Index

Constants

View Source
const DefaultTokenPath = "/var/run/secrets/tokens/jwt"

DefaultTokenPath is the default projected ServiceAccount token mount (aud=conjur).

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Read(ctx context.Context) (string, error)
}

Source produces a raw JWT to exchange at SMS authn-jwt.

func NewFileSource

func NewFileSource(path string) Source

NewFileSource reads a JWT from a file (the projected SA token).

Jump to

Keyboard shortcuts

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