Movatterモバイル変換


[0]ホーム

URL:


awsstore

package
v1.92.2Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:15Imported by:3

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package awsstore contains an ipn.StateStore implementation using AWS SSM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcNew

func New(_logger.Logf, ssmARNstring, opts ...Option) (ipn.StateStore,error)

New returns a new ipn.StateStore using the AWS SSM storagelocation given by ssmARN.

Note that we store the entire store in a single parameterkey, therefore if the state is above 8kb, it can causeTailscaled to only only store new state in-memory andrestarting Tailscaled can fail until you delete your statefrom the AWS Parameter Store.

If you want to specify an optional KMS key,pass one or more Option objects, e.g. awsstore.WithKeyID("alias/my-key").

Types

typeOptionadded inv1.82.0

type Option func(*storeOptions)

Option defines a functional option type for configuring awsStore.

funcParseARNAndOptsadded inv1.82.0

func ParseARNAndOpts(argstring) (ssmARNstring, opts []Option, errerror)

ParseARNAndOpts parses an ARN and optional URL-encoded parametersfrom arg.

funcWithKeyIDadded inv1.82.0

func WithKeyID(kmsKeystring)Option

WithKeyID sets the KMS key to be used for encryption. It can bea KeyID, an alias ("alias/my-key"), or a full ARN.

If kmsKey is empty, the Option is a no-op.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp