secrets

package
v0.0.0-...-599a714 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 8 Imported by: 0

README

Secrets

This directory contains encrypted secret files for credentials that are useful for developers to have, but aren't necessary for the app to run. We use a tool called sops to manage these encrypted files. You can read more about how to use it in the Developer Handbook, and check out the root .sops.yaml file to see how files map to key material.

Documentation

Overview

Package secrets implements a wrapper around sops (https://github.com/mozilla/sops) that decrypts encrypted secret files on disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigratorConfig

type MigratorConfig struct {
	Postgres *pgxpool.Config
}

func LoadMigratorConfig

func LoadMigratorConfig(name string) (*MigratorConfig, error)

type TodoSecretsConfig

type TodoSecretsConfig struct {
	Postgres *pgxpool.Config
}

func LoadTodoSecrets

func LoadTodoSecrets(name string) (*TodoSecretsConfig, error)

Jump to

Keyboard shortcuts

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