1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(api): support AGENT_SECRET environment variable (#2486)

This commit is contained in:
Anthony Lapenna 2018-11-23 11:46:51 +13:00 committed by GitHub
parent fe8dfee69a
commit d03fd5805a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 9 deletions

View file

@ -626,7 +626,7 @@ type (
GenerateKeyPair() ([]byte, []byte, error)
EncodedPublicKey() string
PEMHeaders() (string, string)
Sign(message string) (string, error)
CreateSignature() (string, error)
}
// JWTService represents a service for managing JWT tokens