secretsbackendmanager

package
v0.0.0-...-0a82276 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package secretsbackendmanager provides the api client for the secretsbackendmanager facade.

Index

Constants

This section is empty.

Variables

View Source
var WithTracer = base.WithTracer

WithTracer returns an Option that configures the Client to use the supplied tracer.

Functions

This section is empty.

Types

type Client

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

Client is the api client for the SecretBackendsManager facade.

func NewClient

func NewClient(caller base.APICaller, options ...Option) *Client

NewClient creates a secret backends manager api client.

func (*Client) RotateBackendTokens

func (c *Client) RotateBackendTokens(ctx context.Context, backendIDs ...string) error

RotateBackendTokens rotates the tokens for the specified secret backends.

func (*Client) WatchTokenRotationChanges

func (c *Client) WatchTokenRotationChanges(ctx context.Context) (watcher.SecretBackendRotateWatcher, error)

WatchTokenRotationChanges returns a watcher that triggers on secret backend rotation changes.

type Option

type Option = base.Option

Option is a function that can be used to configure a Client.

Jump to

Keyboard shortcuts

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