secrets

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) BatchCreateSecrets

func (c *Client) BatchCreateSecrets(
	ctx context.Context,
	request *sdk.BatchCreateSecretsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchSecretsResponse, error)

Create multiple secrets in a single request

func (*Client) BatchUpdateSecrets

func (c *Client) BatchUpdateSecrets(
	ctx context.Context,
	request *sdk.BatchCreateSecretsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchSecretsResponse, error)

Update multiple secrets in a single request

func (*Client) CreateSecret

func (c *Client) CreateSecret(
	ctx context.Context,
	request *sdk.CreateSecretRequest,
	opts ...option.RequestOption,
) (*sdk.SecretResponse, error)

Create a new secret

func (*Client) DeleteBatchSecrets

func (c *Client) DeleteBatchSecrets(
	ctx context.Context,
	request *sdk.BatchDeleteSecretsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchSecretsResponse, error)

Delete multiple secrets in a single request

func (*Client) DeleteSecret

func (c *Client) DeleteSecret(
	ctx context.Context,
	request *sdk.DeleteSecretRequest,
	opts ...option.RequestOption,
) (*sdk.BatchSecretsResponse, error)

Delete an existing secret

func (*Client) GetSecret

func (c *Client) GetSecret(
	ctx context.Context,
	key string,
	request *sdk.GetSecretRequest,
	opts ...option.RequestOption,
) (*sdk.SecretResponse, error)

Retrieve a specific secret

func (*Client) GetSecrets

func (c *Client) GetSecrets(
	ctx context.Context,
	request *sdk.GetSecretRequest,
	opts ...option.RequestOption,
) (sdk.SecretsResponse, error)

Retrieve all secrets for an application and environment type

func (*Client) RevealSecrets

func (c *Client) RevealSecrets(
	ctx context.Context,
	request *sdk.RevealSecretsRequest,
	opts ...option.RequestOption,
) (sdk.RevealSecretsResponse, error)

Decrypt and reveal secret values for managed apps

func (*Client) UpdateSecret

func (c *Client) UpdateSecret(
	ctx context.Context,
	key string,
	request *sdk.UpdateSecretRequest,
	opts ...option.RequestOption,
) (*sdk.BatchSecretsResponse, error)

Update an existing secret

Jump to

Keyboard shortcuts

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