Secret
type Secret struct { // contains filtered or unexported fields}Secret represents a secret in a store
Methods
Handle
View sourcefunc (s *Secret) Handle() *fastly.SecretHandle returns an opaque pointer for other packages which need a Secret.
This should not be needed by user code.
Returns
*fastly.Secret
Plaintext
View sourcefunc (s *Secret) Plaintext() ([]byte, error)Plaintext decrypts and returns the secret value as a byte slice.
Returns
([]byte, error)