secrets

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAuthToLocalHypermodeModelRequest

func ApplyAuthToLocalHypermodeModelRequest(ctx context.Context, connection manifest.ConnectionInfo, req *http.Request) error

func ApplySecretsToHttpRequest

func ApplySecretsToHttpRequest(ctx context.Context, connection *manifest.HTTPConnectionInfo, req *http.Request) error

ApplySecretsToHttpRequest evaluates the given request and replaces any placeholders present in the query parameters and headers with their secret values for the given connection.

func ApplySecretsToString

func ApplySecretsToString(ctx context.Context, connection manifest.ConnectionInfo, str string) (string, error)

ApplySecretsToString evaluates the given string and replaces any placeholders present in the string with their secret values for the given connection.

func GetConnectionSecret

func GetConnectionSecret(connection manifest.ConnectionInfo, secretName string) (string, error)

func GetConnectionSecrets

func GetConnectionSecrets(connection manifest.ConnectionInfo) (map[string]string, error)

func GetSecretValue

func GetSecretValue(name string) (string, error)

func HasSecret

func HasSecret(name string) bool

func Initialize

func Initialize(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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