Structin secretstorecompute-sdk-go v1.11.0View source
type Store struct {
// contains filtered or unexported fields
}

Store represents a Fastly Secret Store

Methods

func (st *Store) Get(name string) (*Secret, error)

Get returns a handle to the named secret within the store, if it exists. It will return [ErrSecretNotFound] if it doesn't exist.

Parameters

name: string

Returns

(*Secret, error)