---
title: Store
summary: Store represents a Fastly Secret Store
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/secretstore/struct.Store/
---

**Kind:** Struct  
**Module:** [secretstore](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/secretstore/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/secretstore/secretstore.go#L41

```go
type Store struct {
	// contains filtered or unexported fields
}
```

Store represents a Fastly Secret Store

## Methods

### Get

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/secretstore/secretstore.go#L73

```go
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)`
