Plaintext

Functionin secretstorecompute-sdk-go v1.11.0View source
func Plaintext(storeName, secretName string) ([]byte, error)

Plaintext decrypts and returns the secret value as a byte slice for the given secret store and secret name.

This is a convenience function that combines the functionality of Open, Store.Get, and Secret.Plaintext.

Parameters

storeName: string
secretName: string

Returns

([]byte, error)