awssm

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Example
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/busser/murmur/internal/murmur/providers/awssm"
)

func main() {
	c, err := awssm.New()
	if err != nil {
		log.Fatal(err)
	}

	ref := "secret-sauce"
	val, err := c.Resolve(context.Background(), ref)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println("The secret sauce is", val)
}
Output:

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (*client, error)

New returns a client that fetches secrets from AWS Secrets Manager.

Types

This section is empty.

Jump to

Keyboard shortcuts

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