Documentation
¶
Index ¶
Constants ¶
View Source
const JWTAudience = "artifact-cas.chainloop"
Variables ¶
View Source
var SigningMethod = jwt.SigningMethodES512
Functions ¶
This section is empty.
Types ¶
type Claims ¶
type Claims struct {
jwt.RegisteredClaims
Role Role `json:"role"` // either downloader or uploader
StoredSecretID string `json:"secret-id"` // path to the OCI secret in the vault
BackendType string `json:"backend"` // backend to use, i.e OCI
}
Click to show internal directories.
Click to hide internal directories.