secrets

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package secrets is a utility library for retrieving secrets from Google Secret Manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name string

Name of a secret in the secret store.

This is the name of a "secret version" resource like "projects/my-project/secrets/my-secret-name/versions/latest"

func (Name) Access

func (n Name) Access(ctx context.Context) ([]byte, error)

Access returns the value of a secret given a secret name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL