remotesecretstorage

package
v0.2023.21 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteSecretStorage

func NewJSONSerializingRemoteSecretStorage

func NewJSONSerializingRemoteSecretStorage(secretStorage secretstorage.SecretStorage) RemoteSecretStorage

NewJSONSerializingRemoteSecretStorage is a convenience function to construct a RemoteSecretStorage instance based on the provided SecretStorage and serializing the data to JSON for persistence. The returned object is an instance of DefaultTypedSecretStorage set up to work with RemoteSecret objects as data keys and returning the SecretData instances. NOTE that the provided secret storage MUST BE initialized before this call.

type SecretData

type SecretData map[string][]byte

Jump to

Keyboard shortcuts

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